Prevent Windows from shutdown during silent install? - Advanced Installer Community
SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Prevent Windows from shutdown during silent install?

Hi AI-Team,
our automatic online update, updates many machines in silent mode during the night. Unfortunately some of our customer accidently restart or shutdown those machines during the update process (because its silent they dont see it).
Is there a good way to prevent windows from restarting/shutdown during an installation? Is it possible to block it and show a reason for the customer?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Prevent Windows from shutdown during silent install?

Hello,

Unfortunately you cannot implement this behavior.

However you can implement another scenario:
You can have a schedule task which just check if there are any updates available and if they are, just download them(not install them immediately). You can use the justdownload command line for this.

Then you can have another schedule task, which can start in the morning, when the user is log on and start the installation of the related updates silently.

Also, you can try to implement this functionality from your application. Please take a look on the Integrate Updater in Application article which may be useful to you.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”