• 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: Passing parameters to my Package Maker plugin from installer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing parameters to my Package Maker plugin from installer


  • Subject: Re: Passing parameters to my Package Maker plugin from installer
  • From: Volodymyr Shcherbyna <email@hidden>
  • Date: Fri, 13 Jul 2012 15:07:26 +0200

Hello Allen,

Yes, I thought about this solution, however it does not look to be generic. I'd expect some well documented and official way to pass params to installation scripts ... (like we have with MSI and MST files in Windows). 

In any case, another thing is bothering me: installation plugins are executed before elevation of privileges, and it is not safe to pass their data to installation scripts which are executed under root. The same applies to passing params via /tmp folder ...

-- 
with best regards, Volodymyr.  

2012/7/13 Allen Hancock <email@hidden>
On Jul 13, 2012, at 5:57 AM, Harald Wagener wrote:

Installer plugins only work in GUI context, not when you call
installer on the command line.

Is there a method for passing variables in the installer command, which a script could pick up on?

Or, if I need to set a variable before running an installer, am I better off  using a separate command beforehand, such as 

cat "variable" > /tmp/my-settings.txt

and having my scripts read the variable out of that file (if it exists)

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

 _______________________________________________
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: Passing parameters to my Package Maker plugin from installer
      • From: Allen Hancock <email@hidden>
References: 
 >Passing parameters to my Package Maker plugin from installer (From: Volodymyr Shcherbyna <email@hidden>)
 >Re: Passing parameters to my Package Maker plugin from installer (From: Harald Wagener <email@hidden>)
 >Re: Passing parameters to my Package Maker plugin from installer (From: Allen Hancock <email@hidden>)

  • Prev by Date: Re: Passing parameters to my Package Maker plugin from installer
  • Next by Date: Custom summary intermittent?
  • Previous by thread: Re: Passing parameters to my Package Maker plugin from installer
  • Next by thread: Re: Passing parameters to my Package Maker plugin from installer
  • Index(es):
    • Date
    • Thread