Re: Conditionally destination for package
On Wed, Mar 19, 2014 at 6:33 AM, Edward Spiegel <lists@edwardspiegel.org> wrote:
Hi,
Thanks for the ideas. I am not sure that I quite understand.
A couple of questions:
what is an invisible package?
It's a standard package inside the distribution but the corresponding choice is hidden (in the Installation Type pane if you allow the user to see the available choices).
Is the cookie being created with javascript or is there a way to create it with a shell script?
By cookie, I just mean a file (with a value or not) that you can create with touch(1).
Is this a correct paraphrase of this technique:
) the installer will be set up to always install the supporting files into location A ) location A will either be a real location or a symbolic link to the actual destination (either location B or C) if A does not really exist ) the cookie is used to tell the installer whether a symbolic link was used, in which case it will be deleted at the end
That's the first possible alternative.
Would this technique work: ) use the script to create a symbolic link in /tmp to whichever A,B or C is found to exist ) install into /tmp/symboliclink?
That's the second possible alternative. _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre