Re: Postflight script failing to execute from a package.
Re: Postflight script failing to execute from a package.
- Subject: Re: Postflight script failing to execute from a package.
- From: <email@hidden>
- Date: Wed, 4 Oct 2006 11:47:52 +0530
- Thread-topic: Re: Postflight script failing to execute from a package.
Hi Matt,
The "postflight" script of your package must be named "postflight" NOT
"postflight.sh"
Double check the executible bit.
Also instead on using the identifier com.mycompany.myapp in the
"open -b com.mycompany.myapp"
(If you are using the identifier make sure it is the right one.)
try using the name of the application.
eg. "open /Applications/MyApp.app"
Run the postflight script from the terminal and check if the script is
working i.e it launches your required application.
Also when you are installing anything it is ABSOLUTELY MUST that the
right owners and permissions are set.
e.g for Applications and kexts the permissions must be atleast like
the following
Owner Group
Permissions
MyApp.app root admin
rwxrwxr-x
MyDriver.kext root wheel
rwxr-xr-x
I wrote a script same as yours , my postflight is working.
Hope this helps you
Regards,
Amrit.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden