Installer failing in 10.7
Installer failing in 10.7
- Subject: Installer failing in 10.7
- From: Rakesh Singhal <email@hidden>
- Date: Mon, 16 Jan 2012 13:12:48 +0530
Hi all,
I have an installer which installs an app and a daemon. In postinstall script, it runs command "open /Applications/MyApp.app" and it works. If this app is already installed and I install new version, it upgrades smoothly. The daemon is keep polling on server for updated version. If it finds then it downloads the dmg file, mount it and spawns a new process to run the installer. It works properly with 10.5 and 10.6 but gives error on 10.7. The error is "./postinstall: LSOpenURLsWithRole() failed with error -10810 for the file /Applications/MyApp.app". In preupgrade script, I kill both process and remove plist for daemon.
Is this issue due to sandbox or something else? Please let me know if you know how to resolve it.
Thanks in advance.
Regards,
Rakesh Singhal
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden