• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: launch application de-elevated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch application de-elevated


  • Subject: Re: launch application de-elevated
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 16 Aug 2012 15:37:35 -0700

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: launch application de-elevated
      • From: danchik <email@hidden>
References: 
 >Re: launch application de-elevated (From: danchik <email@hidden>)

  • Prev by Date: Re: __weak pointer collection firing prematurely???
  • Next by Date: Re: Displaying a sheet immediately after a window is opened
  • Previous by thread: Re: launch application de-elevated
  • Next by thread: Re: launch application de-elevated
  • Index(es):
    • Date
    • Thread