Re: Distribution Packages
Re: Distribution Packages
- Subject: Re: Distribution Packages
- From: Christopher Ryan <email@hidden>
- Date: Mon, 24 Apr 2006 16:12:45 -0700
Do you have
<key>IFPkgFlagRelocatable</key>
<true/>
In the Packages Info.plists?
Chris
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:email@hidden]
Sent: Monday, April 24, 2006 2:30 PM
To: Hafen, Keith
Cc: email@hidden
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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