Re: Question about starting my application from an installer postflight script
Re: Question about starting my application from an installer postflight script
- Subject: Re: Question about starting my application from an installer postflight script
- From: Mark Suman <email@hidden>
- Date: Tue, 2 Mar 2010 06:36:41 -0700
Could it be that your script is launching the application with escalated privileges (i.e. root)? If it is, then you will get a different experience with the app since the user defaults are probably back to the default.
Mark
On Tue, Mar 2, 2010 at 2:09 AM, Matt Gough
<email@hidden> wrote:
I had a similar problem that the app runs differently. My solution was to use 'open -a /System/Library/CoreServices/Finder.app <MyAppPath>' which tells open to get Finder to do the actual launching.
Be aware that the user may not be using Finder (e.g PathFinder instead), so you may want to see who is running and get that app to do the launch
Matt
On 1 Mar 2010, at 23:04:14, Brant Sears wrote:
> The problem I am having is that something is different in the way it runs when I try to launch my app from the postflight script.
>
> Is there something I can do to make it run in the same manner as if I had double clicked from the finder? I have tried launching intermediate things such as apple scripts that would delay, then launch my app, etc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users 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.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden