Re: Passing parameters to my Package Maker plugin from installer
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