packagemaker post-flight script
packagemaker post-flight script
- Subject: packagemaker post-flight script
- From: Neacsa Bogdan Valentin <email@hidden>
- Date: Thu, 14 Jul 2011 23:15:35 -0700 (PDT)
Hello,
I have a problem with running a post-flight script. I've atached the script I'm trying to run. It looks so messy because I haven't found a better way to do some kind of debugging from the installer. How all the paths are absolute paths on my PC and for now I would be satisfied if it ran on my PC. Basically I have a big python project that has a lot of dependencies. So what the script should do is do a series of:
go to dependency_folder1
python setup.py install
go to dependency_folder2
python setup.py install
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 ?
Regards,
Bogdan
Attachment:
postflight.sh
Description: Bourne shell script
_______________________________________________
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