site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcZn5lvC5nLpk2UNRKGEiSs9DS9N5wACqB6Q Thread-topic: Distribution Packages Chris, Thanks for the suggestion, but I changed the .dist file to have: <options allow-external-scripts="no" customLocation="/Applications/UGS/NX 4.0" customize="allow"> </options> ... <choice id="choice2" title="PVTRANS" description="PV Trans stuff" tooltip="PV Translators" customLocationAllowAlternateVolumes="yes" start_selected="true" start_enabled="true" start_visible="true"> <pkg-ref id="ident.pkg.PVTRANS"></pkg-ref> </choice> And even if I select an alternate location the package still goes to the default /Applications/UGS/NX 4.0. Now each package has an Info.plist file, and in there I am setting: <key>IFPkgFlagDefaultLocation</key> <string>/Applications/UGS/NX 4.0</string> Is it somehow taking that instead of the option at the top level? Keith Hafen UGS -----Original Message----- From: Christopher Ryan [mailto:ryanc@apple.com] Sent: Monday, April 24, 2006 2:30 PM To: Hafen, Keith Cc: installer-dev@lists.apple.com Subject: Re: Distribution Packages If you don't put them in the choice, then they will inherit the overall selection. You don't need them in the choice, as long as the package is relocatable, every package will be relocated to that location. Putting them in the choice makes it so the user can change them in the Custom Select panel. Chris
We are trying to create a distribution package for our product. One thing we need to do is to allow the customer to select one custom location, and have all the packages installed under that location. We have set up the .dist file to prompt for the install location in the <options>, however it doesn't pass that location on to the subpackages.
In the .dist file we have:
<options allow-external-scripts="no" customLocation="/Applications/UGS/NX 4.0" customize="allow"> </options>
and in each subpackage, there is a section like:
<choice id="choice1" title="UGFLEXLM" customLocation="/Application/UGS/NX4" description="NX Flex stuff" tooltip="Flex licensing" start_selected="true" start_enabled="true" start_visible="true"> <pkg-ref id="ident.pkg.UGFLEXLM"></pkg-ref> </choice>
How do we get the subpackage to use the customLocation that the user selected from the UI as part of the <options> section?
Keith Hafen
_______________________________________________ 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/ryanc%40apple.com
This email sent to ryanc@apple.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)
-
Hafen, Keith