MSI: preselected property

Aric Stewart aric at codeweavers.com
Wed Jun 8 11:49:52 CDT 2005


Set the Preselected property if approperate (relevent to MigrateFeatureStates when implemented)

-------------- next part --------------
Index: dlls/msi/action.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/action.c,v
retrieving revision 1.137
diff -u -r1.137 action.c
--- dlls/msi/action.c	7 Jun 2005 21:34:05 -0000	1.137
+++ dlls/msi/action.c	8 Jun 2005 16:48:18 -0000
@@ -2463,6 +2463,14 @@
             }
         }
     }
+    else
+    {
+        /* set the Preselected Property */
+        static const WCHAR szPreselected[] = {'P','r','e','s','e','l','e','c','t','e','d',0};
+        static const WCHAR szOne[] = { '1', 0 };
+
+        MSI_SetPropertyW(package,szPreselected,szOne);
+    }
 
     /*
      * now we want to enable or disable components base on feature 


More information about the wine-patches mailing list