Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

MSIEXEC /f option can reboot machine


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


Rapid publishing

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

↑ Back to the top


Symptom



Citrix/Terminal Server rebooted after an MSI installed product was repaired using /f option, even though the property REBOOT=ReallySuppress was specified.

↑ Back to the top


Cause



/f option ignores properties.

/norestart is not an option since it translates to the same property value, which is then dropped from the command line.

↑ Back to the top


Resolution



Use /i REINSTALLMODE=omus REBOOT=ReallySupress to repair a package without a reboot.

↑ Back to the top


More information



/i will achieve a similar function, and it will correctly use the passed in properties. A debug shows that /i with REINSTALLMODE=omus was identical to /fomus, if the package is specified via GUID.



Actually the two command lines do not both enter MsiReInstallProduct, however internally they both end up in ConfiureOrReinstallFeatureOrProduct and subsequently RunEngine, as you can see from the two stack traces:



/i:



0:000> kL

ChildEBP RetAddr

0007d734 7d2f91a7 msi!RunEngine+0x5

0007d7e4 7d293a72 msi!ConfigureOrReinstallFeatureOrProduct+0x1d5

0007d87c 01007790 msi!MsiConfigureProductExW+0xe1

0007dab0 01007ea8 msiexec!ConfigureOrRemoveProduct+0x9c

0007dac0 01009d54 msiexec!InstallPackage+0x1c

0007fee0 0100a8f2 msiexec!ServerMain+0x9c8

0007ff1c 0100f4a8 msiexec!WinMain+0x34

0007ffc0 7c816fd7 msiexec!WinMainCRTStartup+0x186

0007fff0 00000000 kernel32!BaseProcessStart+0x23



0:000> du 0x000a8900

000a8900 " REINSTALLMODE=fomus "





/f:



0:000> kL

ChildEBP RetAddr

0007ceac 7d2f91a7 msi!RunEngine+0x5

0007cf5c 7d282ba1 msi!ConfigureOrReinstallFeatureOrProduct+0x1d5

0007cf94 01007e71 msi!MsiReinstallProductW+0x72

0007dac0 01009d54 msiexec!RepairPackage+0x281

0007fee0 0100a8f2 msiexec!ServerMain+0x9c8

0007ff1c 0100f4a8 msiexec!WinMain+0x34

0007ffc0 7c816fd7 msiexec!WinMainCRTStartup+0x186

0007fff0 00000000 kernel32!BaseProcessStart+0x23

0:000> du 0x000a88f0

000a88f0 " REINSTALL=ALL REINSTALLMODE=omu"

000a8930 "s"

↑ Back to the top


Disclaimer

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB961883, kbrapidpub, kbnomt, kbarchive, kbnosurvey

↑ Back to the top

Article Info
Article ID : 961883
Revision : 2
Created on : 1/16/2015
Published on : 1/16/2015
Exists online : False
Views : 267