• 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: Launching Application immediately after installation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching Application immediately after installation


  • Subject: Re: Launching Application immediately after installation
  • From: Luke Bellandi <email@hidden>
  • Date: Mon, 19 Jun 2006 22:08:59 -0700

Hi Stéphane,

Good thought -- I investigated this:

Even when running as the root user, the open command launches the app as the regular user. (as in "open /Application/Utilities/Audio\ MIDI\ Setup.app")

However, when launching the binary directly as root (as in "/ Applications/Utilities/Audio\ MIDI\ Setup.app/Contents/MacOS/Audio\ MIDI\ Setup"), it will be launched as root.

/Applications/Utilities/Activity\ Monitor.app can be used to see which process is owned by which user.

- Luke

On Jun 19, 2006, at 11:49 AM, Stéphane Sudre wrote:


On lundi, juin 19, 2006, at 06:11 PM, Luke Bellandi wrote:

Hi Amrit,

How are you launching your application in your postflight script?
I would think that using "open /Applications/MyApp.app" should open the application, and return, allowing the postflight script to exit and the Install to complete normally.

It could also be interesting to know where the application is supposed to be installed and which authentication you are requiring.


Because you may not want root to launch the application.

_______________________________________________
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

_______________________________________________ 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
References: 
 >Re: Launching Application immediately after installation (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: RE: Launching Application immediately after installation
  • Next by Date: to change text of "Upgrade" button of Installer back to "Install".
  • Previous by thread: Re: Launching Application immediately after installation
  • Next by thread: RE: Launching Application immediately after installation
  • Index(es):
    • Date
    • Thread