Dynamic Install Location?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Suggestions I've seen have been: Surely this must be a well solved problem? _______________________________________________ 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... So I've been browsing the archives and have seen this question asked a few times, with several different answers.... What's the best way to dynamically set the install location for a pkg? I have a pkg I'm putting together that needs to be installed into $RUBYLIB, which may be in different locations depending upon the client environment. * Installer Plugins * preflight script that symlinks desired destination to the hardwired destination (ie, ln -s $RUBYLIB /tmp/somepath) * postflight script that copies payload to the desired destination. * locator definitions, which to be honest I don't quite get yet. I was also thinking about whether I could get an mpkg preinstall to modify the install location for one of it's containing pkgs. This email sent to site_archiver@lists.apple.com
participants (1)
-
Nigel Kersten