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: Karthikeyan M <email@hidden>
- Date: Thu, 07 Jul 2011 23:04:27 +0530
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