msi: fix to ExecuteAction

Aric Stewart aric at codeweavers.com
Thu Jun 23 10:33:36 CDT 2005


perform ExecuteAction at UILevel 2.
-------------- next part --------------
Index: dlls/msi/action.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/action.c,v
retrieving revision 1.160
diff -u -r1.160 action.c
--- dlls/msi/action.c	23 Jun 2005 11:04:09 -0000	1.160
+++ dlls/msi/action.c	23 Jun 2005 15:32:02 -0000
@@ -3905,8 +3841,16 @@
 
 static UINT ACTION_ExecuteAction(MSIPACKAGE *package)
 {
+    static const WCHAR szUILevel[] = {'U','I','L','e','v','e','l',0};
+    static const WCHAR szTwo[] = {'2',0};
     UINT rc;
+    LPWSTR level;
+    level = load_dynamic_property(package,szUILevel,NULL);
+
+    MSI_SetPropertyW(package,szUILevel,szTwo);
     rc = ACTION_ProcessExecSequence(package,FALSE);
+    MSI_SetPropertyW(package,szUILevel,level);
+    HeapFree(GetProcessHeap(),0,level);
     return rc;
 }
 


More information about the wine-patches mailing list