Package maker won't run script
Package maker won't run script
- Subject: Package maker won't run script
- From: "Theodore H. Smith" <email@hidden>
- Date: Thu, 3 Nov 2005 00:35:53 +0000
I've tried to get package maker to run a script.
I set the resources folder to be a folder I've named "Resources". In
that folder is a single script named "preinstall". It has it's
executable bit set. The preinstall script simply creates a file at
the root directory, so that I can verify that it really did execute.
It's a dummy testing script.
If I run my preinstall script from the terminal, it works.
Inside my built package, I see a folder named "Resources". Within
this folder is a script named "preinstall". It's directly within
"Resources", not within any sub-dir.
When I run my package, guess what happens. Well, everything is
installed but the script is not run!
Why???
If I go to the terminal and try running the preinstall script, it
runs just fine.
It's like the installer is ignoring the script.
I'm running OSX 10.4, PackageMaker 2.0.
Unless I can run scripts from PackageMaker, my installer won't be any
good, so I'd have to find some other way to install this app, because
I need to run scripts.
--
http://elfdata.com/plugin/
What does our work achieve, if it's not making the world a happier
place?
http://www.whatnextjournal.co.uk/Pages/Next/Happiness.html
When's the last time you thought deeply about how to improve our lives?
_______________________________________________
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