Dynamic Install Location?
Dynamic Install Location?
- Subject: Dynamic Install Location?
- From: Nigel Kersten <email@hidden>
- Date: Tue, 4 Sep 2007 08:31:20 -0700
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.
Suggestions I've seen have been:
* 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.
Surely this must be a well solved problem?
_______________________________________________
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