XCode includes both product templates as well as documentation for making an Installer plugin.
That said, arguably the most important fact about such a tool is that the command-line version of 'installer' doesn't execute them. This makes them incompatible with many of the software deployment tools (Casper, Munki, etc).
Instead, you could force a custom install, and then hide/lock the settings for all of the component packages save for the package that makes this change. This would effectively require user interaction (though be careful what your default is, as many users will accept that, possibly even without reading the custom install screen). This method shares the same limitations as an installer plugin, as many software deployment tools would effectively suppress this custom install option.
Another alternative (and frankly the route I would take) would be to create a separate package for this option, but with no payload. In either the pre or post install scripts you could then use AppleScript dialogs to present the question to the user and then take action based on the response.
I hope that helps. Conor On Nov 2, 2016, at 1:18 AM, Eugene Kondrashev < email@hidden> wrote: Hi community,I have a java application which I'm succeed creating dmg package for. At the next step, I'd like to create an installer package with custom action. I'd like to suggest a user to replace its browser home page and do that if user accepts the step.
I found productbuild tool accepts plugins option, but found no documentation on how to create a plugin that will address custom step requirement.
I've also tried Packages application, also allowing plugins for the custom installation steps, but again found no documentation on how to create a plugin.
I'd appreciate any hint/example on how to achieve browser default homepage replacement during installation.
Thanks, Eugene
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
|