/build/static/layout/Breadcrumb_cap_w.png

"ReallySuppress" A MSI Reboot

Link

The Windows Installer REBOOT property can be set to "force", "suppress" and "reallysuppress". This last one raises some eyebrows- here is the break down:

Force

Always prompt for a reboot at the end of the installation. The UI always prompts the user with an option to reboot at the end. If there is no user interface the system automatically reboots at the end of the installation.

Suppress

Suppress prompts for a reboot at the end of the installation. The installer still prompts the user with an option to reboot during the installation whenever it encounters the ForceReboot action. If there is no user interface, the system automatically reboots at each

ForceReboot. Reboots at the end of the installation, for example caused by an attempt to install a file in use, are suppressed.

ReallySuppress

Suppress all reboots and reboot prompts initiated by ForceReboot during the installation. Suppress all reboots and reboot prompts at the end of the installation. Both the reboot prompt and the reboot itself are suppressed. For example, reboots at the end of the installation, caused by an attempt to install a file in use, are suppressed.

Another property, REBOOTPROMPT can be set to Suppress (or just S) so that any reboot performed by the Windows Installer happens automatically without interaction from the user. Setting this property does not initiate a reboot if one is not needed, it only suppresses the display of any prompts for reboots to the user.


Comments

  • A nice thing to know: the value for both the REBOOTPROMPT and REBOOT parameter can be shortened to just the first letter (F/S/R) since Windows Installer really only reads this far.

    Might save you some typing :) - pjgeutjens 11 years ago
  • I have for many years used REBOOT=REALLYSUPPRESS ALLUSERS=2, and it have worked without any reboots, but today I got a new msi-file where it rebooted anyway.

    Just heard that there also is a REBOOT=REALLYSUPPRESS ALLUSERS=1 option.

    What is the difference, and are there more options - nergmlam 11 years ago
    • https://docs.microsoft.com/en-us/windows/win32/msi/allusers

      1. ALLUSERS="" : An ALLUSERS property value of 1 specifies the per-machine installation context.

      2. ALLUSERS=1 : An ALLUSERS property value of an empty string ("") specifies the per-user installation context.

      3. ALLUSERS=2 : If the value of the ALLUSERS property is set to 2, the Windows Installer always resets the value of the ALLUSERS property to 1 and performs a per-machine installation or it resets the value of the ALLUSERS property to an empty string ("") and performs a per-user installation. The value ALLUSERS=2 enables the system to reset the value of ALLUSERS, and the installation context, dependent upon the user's privileges and the version of Windows. NOTE: Windows 7, Vista, and XP use option 2 differently - see microsoft link for more details: https://docs.microsoft.com/en-us/windows/win32/msi/allusers - zepharim 2 years ago
This post is locked
 
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