• 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
Re: How can I get path to install package from distribution script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get path to install package from distribution script?


  • Subject: Re: How can I get path to install package from distribution script?
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 19 Sep 2007 23:39:01 +0200


On mercredi, septembre 19, 2007, at 06:39 PM, Jack Repenning wrote:

On Sep 19, 2007, at 2:52 AM, Yun Zhi Lin wrote:

But I am a little confused. During installation, I thought the scripts are copied to a tmp dir and run there.It is strange that we can get the path to the original script. Is my understanding wrong? 



I have no answers for you, here.  I thought the same thing, and was surprised in the same way, when I tried it out.  In fact, since I was thinking that way, I almost asked you why you don't just put your installation.configuration file into the Resources directory of the package (or mpkg), so that it *would* be copied to that temp directory and be where you expect.  Maybe you should do that anyway, since we both thought there was a copy-to-temp going on.


InstallationCheck and VolumeCheck scripts are not copied to a temporary directory AFAIK. There would no real interest in doing this.

BTW, using $1 you would spare some ../


_______________________________________________ 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
References: 
 >Re: How can I get path to install package from distribution script? (From: Jack Repenning <email@hidden>)

  • Prev by Date: Re: How can I get path to install package from distribution script?
  • Next by Date: Re: Debugging the Installer PlugIn
  • Previous by thread: Re: How can I get path to install package from distribution script?
  • Next by thread: Packagemaker crash when building from command line
  • Index(es):
    • Date
    • Thread