Reboot After Install?????
My application requires to restart /reboot the system after the installation of the application. Before reboot, the application should display a message/dialog stating that the sytem will be restarted in 10 minutes, please close all open application. If the user doesn't click the OK Button for 10 minutes, the system should restart. Do help me with this issue. I m using installshield developer 8.x and the application is a Basic MSI.
thanks in advance for your valuable suggestions.....
regards,
karthik sankaran
thanks in advance for your valuable suggestions.....
regards,
karthik sankaran
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
bkelly
20 years ago
Although I am sure there are more complex (and perhaps better) ways to go about it- you might consider using a custom action to call "shutdown.exe" with the appropriate switches. Shutdown is available in Windows resource kits or natively in the OS (depending on the version of Windows). There are other command line utilities that do the same. By suppressing the reboot by the MSI and calling this command as a custom action- I think you will get what you are looking for.
Posted by:
KarthikS
20 years ago
Thanks bob,
But as per our client's standards, we are not supposed to use Shutdown.exe. Further we have two VbScripts ready. we are able to restart the system when the user clicks the OK Button. This has been achieved by using a DoAction event for that button. But If the user doesn't click the button, we need to run a VBScript simultaneously so that the dialog is displayed and after 10 minutes, the system restarts.
When i try to perform this action after the ExecuteAction in the Sequence, the system displays the dialog but this VBScript is not triggered. Do let me know how it can be resolved?
thanks in advance for your valuable suggestions...
Have a nice day..
regards,
karthik sankaran
But as per our client's standards, we are not supposed to use Shutdown.exe. Further we have two VbScripts ready. we are able to restart the system when the user clicks the OK Button. This has been achieved by using a DoAction event for that button. But If the user doesn't click the button, we need to run a VBScript simultaneously so that the dialog is displayed and after 10 minutes, the system restarts.
When i try to perform this action after the ExecuteAction in the Sequence, the system displays the dialog but this VBScript is not triggered. Do let me know how it can be resolved?
thanks in advance for your valuable suggestions...
Have a nice day..
regards,
karthik sankaran
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.