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: Harald Wagener <email@hidden>
- Date: Fri, 13 Jul 2012 12:57:50 +0200
Installer plugins only work in GUI context, not when you call
installer on the command line.
On Fri, Jul 13, 2012 at 12:49 PM, Volodymyr Shcherbyna
<email@hidden> wrote:
> Hello Everyone,
>
> I am developing Package Maker Installer which is installing my software
> (kext & daemon) and I need to get user configuration data at the time of the
> installation. Thanks to
> https://developer.apple.com/library/mac/#samplecode/InstallerPluginSample/Introduction/Intro.html
> I was able to make Package Maker plugin which is showing some UI and getting
> the user data. It works fine.
>
> However when I try to install my package via
>
> sudo installer -pkg ./MyPackage.pkg --target /
>
> I see that the my plugin is not called and I have no way to pass parameters
> to plugin. Is there any way I can make plugin loaded or write another plugin
> for command line installation? If none of this work, can I pass param from
> command line to my installation bash script? What is the documented &
> recommended way to accomplish this?
>
> Thanks for any inputs,
>
> --
> with best regards, Volodymyr.
>
> _______________________________________________
> 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