Postinstall script behaves differently than if launching from Terminal
Postinstall script behaves differently than if launching from Terminal
- Subject: Postinstall script behaves differently than if launching from Terminal
- From: Matt Brewer <email@hidden>
- Date: Sun, 2 Nov 2008 10:24:24 -0500
I'm writing an installer for my company which also redistributes the
Adobe AIR Runtime (licensing taken care of). There is a silent
install option which should run this in the background and make it a
seamless experience for the user.
#!/bin/sh
/Applications/Adobe\ AIR\ Installer.app/Contents/MacOS/Adobe\ AIR\
Installer -silent
exit 0
This works just fine when launching from the Terminal. However, when
used as a postinstall script, the Adobe installer complains that AIR
isn't installed. Just wondering if anyone had any thoughts why it
would behave differently.
I also wrote an Installer plugin in Xcode, I take it that I can't
launch a NSTask there, just wanted to clarify....
Matt
_______________________________________________
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