Article ID: 961883 - Last Review: January 8, 2009 - Revision: 1.0 MSIEXEC /f option can reboot machine
Source: Microsoft Support RAPID PUBLISHINGRAPID 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. SymptomCitrix/Terminal Server rebooted after an MSI installed product was repaired using /f option, even though the property REBOOT=ReallySuppress was specified. 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. ResolutionUse /i REINSTALLMODE=omus REBOOT=ReallySupress to repair a package without a reboot. 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" DISCLAIMERMICROSOFT 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. | Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top