Hi, I am trying to pre-select the features to be installed so when the user is on the CustomizeDlg, they are automatically selected(default is not selected). The features am trying to pre-select come from a registry entry that I have created by a different application before running the installer . Here is where I am stuck:
I read the registry entry as a property: <Property Id='FEATURES_FOUND'> <RegistrySearch Id='FeaturesFound' Root='HKLM' Key='SOFTWARE\MyKey\MySubkey' Name='RequiredFeatures' Type='raw' /> "RequiredFeatures" is what holds the feature list and they match exactly what I have declared in the WIX installer.(Feature ID is the same as the ones in the registry) The features are comma separated. So, now when I add an event to the next button of the Dialog that comes before the CustomizeDlg, it errors out saying : <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" > <Publish Event="ADDLOCAL" Value="[FEATURES_FOUND]">1</Publish> </Control> "Error 2711: The specified Feature name not found in Feature Table." I tried adding a feature exclusively to test if the event even works or not and it works this way. I see the feature being selected in the CustomizeDlg <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" > <Publish Event="ADDLOCAL" Value="MyFeature">1</Publish> </Control> Any suggestions? --Pavan ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users