Re: packagemaker post-flight script
Re: packagemaker post-flight script
- Subject: Re: packagemaker post-flight script
- From: Stephane Sudre <email@hidden>
- Date: Fri, 15 Jul 2011 01:16:04 -0700
On Thu, Jul 14, 2011 at 11:15 PM, Neacsa Bogdan Valentin
<email@hidden> wrote:
[...]
> All the dependency_folders are in my package. Now I've started an apple
> discussion before this and from what I found from there is that all the
> instructions are run from the installers specific context. But what exactly
> does that mean ? To better formulate my question: if the PC that will
> install my package has python installed, will "python" as a command still be
> available in the installers context ? How can I get the path/location of
> this context ? Are there any simpler alternatives to packageMaker that could
> handle scripts like this better ?
You can call python from your post install script:
- it's usually better to use absolute path for command line tools.
i.e. /usr/bin/python
- if what you are doing in your post install script is to call a
python script, why not have the python script be the post install
script?
Regarding contexts, the extra resources of a package are extracted at
the same level as your post install script. So ./ should work fine to
get to the relative location. Or are you looking for another location?
_______________________________________________
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