|Oct 26, 2010, 06:15 PM||#1|
PackageMaker - postinstall script is not running
Using PackageMaker v3.0.1 with Mac OS X v10.5.8, I am trying to create an installer package that copies two file to a new folder and then runs a shell script. The folder is created, the files copied, but the postinstall script does not run. How do I know you ask. I replaced the contents of the postinstall script with the lines below and the text file was not created. Looking in the installer's log I find nothing to indicate an error or even an attempt to execute the postinstall script.
echo "we were here" >> /test.txt
The script's execute bit is set and I believe the permissions are set correctly. If I browse through the contents of the .mpkg package I find, buried deep within, the postinstall script. BTW, if I CD to the folder in which I find the script and type ./postinstall the text file is created successfully.
I have run out of things to try and appreciate any assistance you can provide. I've attached to this post the installer's log file for those interested.
|Oct 26, 2010, 08:12 PM||#2|
Try something that doesn't require file-system permissions, like:
say "Go away before I taunt you some more."
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Dock is not running||atrate||Mac Basics and Help||2||May 29, 2010 09:33 AM|
|CoD2 is not running smooth on my MacBook Pro||Nodlle||Mac and PC Games||5||Feb 16, 2009 06:39 PM|
|How to EJECT iPhone when iTunes is not running?||Mac.||iPhone||8||Jan 29, 2009 12:11 AM|
|postflight script will not run||BruisedGhost||Mac Programming||0||Oct 2, 2008 10:15 AM|
|Idvd is not running on my Macbook||gregdrummeraz||Mac Applications and Mac App Store||2||Jul 16, 2008 10:42 AM|
All times are GMT -5. The time now is 08:17 AM.