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 <volodymyr@shcherbyna.com> 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/In... 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/wagener%40gmail.com
This email sent to wagener@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com