On Thu, Aug 16, 2012, at 02:42 PM, danchik wrote:
> Hello, I have a postinstall script that starts a program to do some final 
> configurations (the installer was elevated with password during the 
> install), after all is done, the program starts the installed application 
> via:
> 
> [[NSWorkspace sharedWorkspace] launchApplication:appPath]

There's a reason Apple says "don't launch apps as part of the
Installer."

If the user wants to run your app after installing it, they will run it
themselves.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to