Re: Launching Application immediately after installation
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