Re: Add Installation Requirements to the existing .pkg
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Urt/jgEqp/lhPc5w2o7FtEdTRwV4rCwM8cCsAJCrKAA=; b=fMvppsV4KsfcMhbcR3KJ8WWnUYWWmR1Te2KeIVINFmpSMEa4HGPHebOrJGJ+mB9R9V Xp/20JrLCp7/cAVuim4fyHF0fFKoPrP2Cv8Pu/+y3jYgnx/vyS5nwZ1zZpsTSx8z85r6 8y6sjSYUYg9wC9sCpIR3haC2bqrIJKQpewCUw= 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 <karthikeyan.mac@gmail.com> 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 <karthikeyan.mac@gmail.com> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/dev.iceberg%40gmail.com
This email sent to dev.iceberg@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre