wine/dlls/msi action.c

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 2 08:21:17 CST 2005


ChangeSet ID:	21047
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/02 08:21:17

Modified files:
	dlls/msi       : action.c 

Log message:
	Aric Stewart <aric at codeweavers.com>
	Force files to install if the REINSTALL property is set.

Patch: http://cvs.winehq.org/patch.py?id=21047

Old revision  New revision  Changes     Path
 1.227         1.228         +3 -0       wine/dlls/msi/action.c

Index: wine/dlls/msi/action.c
diff -u -p wine/dlls/msi/action.c:1.227 wine/dlls/msi/action.c:1.228
--- wine/dlls/msi/action.c:1.227	2 Nov 2005 14:21:17 -0000
+++ wine/dlls/msi/action.c	2 Nov 2005 14:21:17 -0000
@@ -1607,6 +1607,8 @@ static UINT SetFeatureStates(MSIPACKAGE 
         {'A','D','D','L','O','C','A','L',0};
     static const WCHAR szRemove[] =
         {'R','E','M','O','V','E',0};
+    static const WCHAR szReinstall[] =
+        {'R','E','I','N','S','T','A','L','L',0};
     BOOL override = FALSE;
     MSICOMPONENT* component;
     MSIFEATURE *feature;
@@ -1642,6 +1644,7 @@ static UINT SetFeatureStates(MSIPACKAGE 
      */
     override |= process_state_property(package,szAddLocal,INSTALLSTATE_LOCAL);
     override |= process_state_property(package,szRemove,INSTALLSTATE_ABSENT);
+    override |= process_state_property(package,szReinstall,INSTALLSTATE_LOCAL);
 
     if (!override)
     {



More information about the wine-cvs mailing list