Re: Add Installation Requirements to the existing .pkg
Re: Add Installation Requirements to the existing .pkg
- Subject: Re: Add Installation Requirements to the existing .pkg
- From: Stephane Sudre <email@hidden>
- Date: Fri, 08 Jul 2011 11:27:54 +0200
When you need to find the value for a sysctl, the easy solution is to
use the Terminal application:
1. Open Terminal.
2. Type:
sysctl -a
Another solution includes using Google:
http://forums.macrumors.com/showthread.php?t=608084
And finally, it's sometimes worth searching the archive of this
mailing-list (lists.apple.com:
http://lists.apple.com/archives/installer-dev/2010/Feb/msg00090.html
My $0.02
On Thu, Jul 7, 2011 at 7:34 PM, Karthikeyan M <email@hidden> wrote:
> Hi,
>
> In Packagemaker I noticed there is a option to set the Installation
> Requirements as a result of "Sysctl". The manual page show the list of
> sysctl values like hw.cputype, but does not the value for the Intel
> processor.
> What is the value for Intel processor of sysctl hw.type command?
>
> Also, Could someone help me in providing the Sysctl command values?
>
> Thanks & Regards,
> Karthikeyan
>
>
> On 30/06/11 10:03 PM, Stephane Sudre wrote:
>>
>> On Thu, Jun 30, 2011 at 4:18 PM, Karthikeyan M
>> <email@hidden> wrote:
>>>
>>> Hi,
>>>
>>> We have few packages(.pkg) created using Composer. Composer does not
>>> provide
>>> GUI options to add Installation requirements, it requires scripting to
>>> add
>>> in Package. We may need to add one or two Installtion requirements. I
>>> noticed PackageMaker has a option to choose the requirements from the
>>> list.
>>> I opened the package in PackageMaker to add the Installation
>>> requirements.
>>> When I add any installation requirements the packages becomes .mpkg. Is
>>> this the normal behaviour? Because we need packages to be in .pkg.
>>
>> Assuming you are referring to a package with Mac OS X v10.5 as the target.
>>
>> Requirements are JavaScript scripts attached to choices. A choice is
>> defined in a distribution script. A distribution script is in a
>> distribution. The extension for distributions is .mpkg.
>>
>>> Also, it does not provide a list to choose the processor type(Intel,
>>> PPC).
>>> Any suggestion for this?
>>
>> Use the "Result of JavaScript" item and write your own script (and be
>> amazed by the size of the text editor view).
>>
>> or
>>
>> Use another solution.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden