postinstall script still failing
postinstall script still failing
- Subject: postinstall script still failing
- From: Jim Hoyt <email@hidden>
- Date: Tue, 4 Mar 2008 06:26:39 -0500
Hello, me again.
Re. PackageMaker 3.01 on Mac OS 10.5
I am still trying to get PackageMaker to install an alias on the desktop after installation.
I have a script, that when run from within Terminal, works beautifully.
It goes like this:
#!/bin/sh
/bin/ln -s $4/Applications/Compass_4013/Compass.app $HOME/Desktop/Start_Compass
exit 0
(Thanks to Stephane for helping with the script.)
The script file has these permissions: 775
I put a reference to this script in the postinstall field in PackageMaker. I get a successful built, so I am assuming it is reading the script when it builds the package. But when the installer runs, it fails on script execution.
In the (Tiger) Software Delivery Guide, on page 49, it makes it sound like only these environment variables are available for postinstall: $SCRIPT_NAME, $INSTALLER_TEMP, $PACKAGE_PATH, $RECEIPT_PATH.
Regardless if that is true, does anyone know how I can get my shell script to run???
Is there some way that I can look at the package contents to see what is in there??
I really wish the Package Action, Make Alias, worked as advertised. That is bizarre in itself. No documentation whatsoever, apparently...
Thanks for any help you can offer.
Jim Hoyt, from West Virginia.
|
_______________________________________________
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