• 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
Getting the list of arguments passed with installer command in preinstall or postinstall
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the list of arguments passed with installer command in preinstall or postinstall


  • Subject: Getting the list of arguments passed with installer command in preinstall or postinstall
  • From: kushal ghosh <email@hidden>
  • Date: Wed, 2 Feb 2011 14:22:31 +0530

Hi,

Is there any way of finding out the list of arguments passed to the installer command in postinstall/preinstall? For example my intention is that by any way can we detect the filename which is given with -applyChoiceChangesXML while running the installer in CLI in the postinstall/preinstall scripts?

installer -pkg abc.pkg -applyChoiceChangesXML choicesfile -target /

Here inside abc.pkg which has its own postinstall and preinstall scripts can we get the "choicesfile" file name?

Thanks
 _______________________________________________
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: Getting the list of arguments passed with installer command in preinstall or postinstall
      • From: Stephane Sudre <email@hidden>
  • Next by Date: Re: Getting the list of arguments passed with installer command in preinstall or postinstall
  • Next by thread: Re: Getting the list of arguments passed with installer command in preinstall or postinstall
  • Index(es):
    • Date
    • Thread