MSI: preselected property

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MSI: preselected property

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


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