Welcome to MSDN Blogs Sign in | Join | Help

How do I detect that the installer is doing a repair?

Question

How do I detect that the installer is doing a repair?

Answer

You can check if the REINSTALL property is set. If you want to detect if a patch operation is happening (which also sets the REINSTALL property), you can check if the PATCH property is set (or the MsiPatchRemovalList property for patch uninstall).

Content credit belongs to

[Author: Robert Flaming]
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.
Published Tuesday, August 09, 2005 8:23 AM by Windows Installer Team

Comments

# re: How do I detect that the installer is doing a repair?

Monday, August 15, 2005 1:02 PM by Heath Stewart

# Windows Installer Team Blog How do I detect that the installer is | Outdoor Ceiling Fans

# Windows Installer Team Blog How do I detect that the installer is | Outdoor Ceiling Fans

New Comments to this post are disabled
 
Page view tracker