How to schedule installation at next reboot using MSI?

We have an MSI installer (created using Wix) that is configured to perform updates. Our customers use it to simultaneously update our application on several computers using the SMS package that works with msiexec in silent mode.

The problem is that some of their users will still run our application during the installer launch. We do not want to disconnect these users and start the installation, while they use the application, invariably break things.

Our ideal solution would be that the installation will be scheduled the next time the machine boots up.

This is a pretty impressive list of requirements, but does anyone know how I could achieve this or where I could look further?

+3
source share
2 answers

You can add a value to the registry under HKLM\software\microsoft\windows\currentversion\RunOnce, and it will start the next time the user logs on to the system.

+1
source

Windows Installer automatically detects the files in use. In addition, during an automatic installation, it automatically processes them:

  • files that are not used are overwritten.
  • used files are planned for updating after reboot

As you can see, this is somewhat problematic because some files are updated and some are not.

REBOOTPROMPT "S". , .

, MSI , . EXE.

0

All Articles