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
- Heath, DevDiv Customer Experiance Team Dev. You can get other Heath insights Heath Stewart's Blog
[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 https://www.microsoft.com/info/cpyright.htm.
Comments
Anonymous
August 15, 2005
See http://blogs.msdn.com/heaths/archive/2005/08/12/451037.aspx for more information.Anonymous
May 31, 2009
PingBack from http://outdoorceilingfansite.info/story.php?id=4467Anonymous
May 31, 2009
PingBack from http://outdoorceilingfansite.info/story.php?id=22103