Mandate restart from postinstall script?
Mandate restart from postinstall script?
- Subject: Mandate restart from postinstall script?
- From: Andrew Keller <email@hidden>
- Date: Sat, 10 Nov 2012 08:43:36 -0500
Hello all,
In the postinstall script for one of my component packages, I put all of the required installation-related code at the top, and the code to try and bring up the app without a restart at the end. All of the common scenarios where a restart is required are handled earlier using JavaScript, however there are still some edge cases that can cause the postinstall script to fail to bring up the app.
If the postinstall script succeeds with the installation, but fails to bring up the app, then the user could "fix" it by simply restarting. Conceivably, the postinstall script could detect when there is an error. Is there a way for the postinstall script to tell Installer to mandate a restart if it detects a problem bringing up the app?
Thanks,
Andrew Keller
_______________________________________________
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