• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dynamic Install Location?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Dynamic Install Location?
      • From: Nigel Kersten <email@hidden>
  • Prev by Date: Distribution script format second (stupid) question
  • Next by Date: Re: Dynamic Install Location?
  • Previous by thread: Re: Distribution script format second (stupid) question
  • Next by thread: Re: Dynamic Install Location?
  • Index(es):
    • Date
    • Thread