• 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: need help on my first install script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need help on my first install script


  • Subject: Re: need help on my first install script
  • From: Peter Bierman <email@hidden>
  • Date: Fri, 4 May 2007 13:27:37 -0700

At 2:02 PM -0500 5/4/07, Paul Miller wrote:
Peter Bierman wrote:
For one, double quotes around your path, in case there's a space in it.

Ah, good point. FWIW, I was basing my code on examples I found in the Apple documentation.

Ugh. Could you file a bug about that?



Another tip: you can log into the installer log using the command line tool 'logger -p install.debug'

I tried this, but it didn't print anything. Is it sending the output somewhere else (other than the terminal)?


Yes, 'logger' connects to syslog, which funnels the output acording to /etc/syslog.conf

'logger -p install.debug' sends a message to the 'install' facility, at the 'debug' level. This will go to the install log in /var/log/install.log, and will also be displayed in the Installer Log window in Installer.app.

The priority level you specify interacts with the popup menu in the log window.

-pmb
_______________________________________________
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


References: 
 >need help on my first install script (From: Paul Miller <email@hidden>)
 >Re: need help on my first install script (From: Peter Bierman <email@hidden>)
 >Re: need help on my first install script (From: Paul Miller <email@hidden>)

  • Prev by Date: Re: postflight script failed [SOLVED]
  • Next by Date: Re: postflight script failed [SOLVED]
  • Previous by thread: Re: need help on my first install script
  • Next by thread: ruby postflight script CONFIRMED
  • Index(es):
    • Date
    • Thread