• 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: installer scripts launch the wrong browser!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installer scripts launch the wrong browser!?


  • Subject: Re: installer scripts launch the wrong browser!?
  • From: Bill Coderre <email@hidden>
  • Date: Tue, 15 Nov 2011 15:57:13 -0800

Preflight and Postflight scripts run as root.

Investigate this:
su $USER -c "open http://foo.com";

($USER is the sitting-at-the-screen user.)

On Nov 15, 2011, at 3:41 PM, Andy O'Meara wrote:
> After enough years I thought this issue would fix itself, but it's time to see if someone knows what's going on.  In our package postflight installer script, we use the open command to launch our web page which contains some getting started info.  However, calling 'open http://foo.com' from the installer script opens Safari rather than the user's preferred browser.  Yet the same line in my user terminal causes the correct browser to open, so clearly the installer env is missing something to invoke the correct browser.  Anyone know the best way to address this?

 _______________________________________________
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

  • Follow-Ups:
    • Re: installer scripts launch the wrong browser!?
      • From: Greg Neagle <email@hidden>
References: 
 >installer scripts launch the wrong browser!? (From: Andy O'Meara <email@hidden>)

  • Prev by Date: installer scripts launch the wrong browser!?
  • Next by Date: Re: PackageMaker snafu
  • Previous by thread: installer scripts launch the wrong browser!?
  • Next by thread: Re: installer scripts launch the wrong browser!?
  • Index(es):
    • Date
    • Thread