/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: bkelly 20 years ago
Red Belt
1
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
Senior Yellow Belt
1
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ