• 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: Question about starting my application from an installer postflight script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Question about starting my application from an installer postflight script (From: Brant Sears <email@hidden>)
 >Re: Question about starting my application from an installer postflight script (From: Matt Gough <email@hidden>)

  • Prev by Date: /Developer/usr/bin/xcodebuild fails with 11 - Resource deadlock avoided
  • Next by Date: problems with NFS mounted home dir and xcode
  • Previous by thread: Re: Question about starting my application from an installer postflight script
  • Next by thread: Re: Question about starting my application from an installer postflight script
  • Index(es):
    • Date
    • Thread