If you are a developer distributing this application, changing the user home page without their consent should never be done.
Therefore, you should create a plugin with a checkbox, and then read the user selection in your post-install and change if the user accepted.
As Conor said, this only applies when the pkg is installed in the GUI. if run from the command line or by any of the tools mentioned, the plugin would never be shown and the user response should always be no in that case, ie. the pkg should never change user home page settings in that scenario.
If you’re an administrator and have a company policy to enforce the browser home page, then as Conor said, manage that in a separate way than tying it into this package.
On 3 Nov 2016, at 09:41, Eugene Kondrashev < email@hidden> wrote:
Hi Conor,
Thank you for you response, it definitely helps. I'll look into second option, will appreciate any reference/example on the post-install script example
Thanks, Eugene
|