• 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: "Paul Sanders" <email@hidden>
  • Date: Mon, 1 Mar 2010 23:20:18 -0000

Sounds to me like you are doing this back to front.  I would shut the first instance down and then launch the newly installed update.  In fact I would shut the app down before running the install, else it is liable (in my experience) to crash if you update the binary on disk while it is still running.  Also, check out the 'open' command for launching an app from a shell script.
 
This should really be asked on the installer-dev list.  It may be that the postinstall script is the place to do this kind of thing, I'm not sure.
 
Paul Sanders.
 
----- Original Message -----
From: "Brant Sears" <email@hidden>
To: <email@hidden>
Sent: Monday, March 01, 2010 11:04 PM
Subject: Question about starting my application from an installer postflight script
 
...
Then in my postflight script, I'd like to run my application, and then have the first instance exit.
...
 _______________________________________________
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>)

  • Prev by Date: Re: clang warning about printf type errors?
  • Next by Date: changing a library from static (.a) to dynamic (.dylib)
  • Previous by thread: 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