I am have a strange problem with feature selection and a push button <RadioButtonGroup Property="ServiceSelection_Property"> <RadioButton Height="20" Value="Client" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Client" Width="348" X="0" Y="0" /> <RadioButton Height="20" Value="Server" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Server" Width="348" X="0" Y="60" /> <RadioButton Height="20" Value="Application" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Application" Width="348" X="0" Y="120" /> </RadioButtonGroup>
<Dialog Id="ServiceSelectionForm" X="50" Y="50" Width="376" Height="287" Title="[ProductName]"> <Control Id="SelectRadioGroup" Type="RadioButtonGroup" X="18" Y="60" Width="348" Height="150" Property="ServiceSelection_Property" Text="{\VSI_MS_Sans_Serif13.0_0_0}MsiRadioButtonGroup" TabSkip="no" /> <Control Id="CancelButton" Type="PushButton" X="156" Y="261" Width="66" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}Cancel" TabSkip="no" Cancel="yes"> <Publish Event="SpawnDialog" Value="Cancel" /> </Control> <Control Id="PreviousButton" Type="PushButton" X="228" Y="261" Width="66" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}< &Back" TabSkip="no"> <Publish Event="NewDialog" Value="EulaForm"></Publish> </Control> <Control Id="NextButton" Type="PushButton" X="300" Y="261" Width="66" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Next >" TabSkip="no" Default="yes"> <Publish Event="NewDialog" Value="ConfirmInstallForm"></Publish> <Publish Event="AddLocal" Value="ServiceFeature">ServiceSelection_Property = "Server"</Publish> </Control> </Dialog> The features are setup as follows <Feature Id="DefaultFeature" ConfigurableDirectory="TARGETDIR" Level="1" AllowAdvertise="no"> <ComponentRef Id="C_Main.exe" Primary="yes" /> <ComponentRef Id="ApplicationShortcut" /> <!--<Feature Id="AppFeature" Level="1" AllowAdvertise="no"> <ComponentRef Id="C_App" /> <Condition Level="1" >ServiceSelection_Property="Application"</Condition> </Feature>--> </Feature> <Feature Id="ServiceFeature" Level="1" AllowAdvertise="no"> <!--<Condition Level="1"><![CDATA[ServiceSelection_Property = "Server"]]></Condition>--> <ComponentRef Id="C_Service" /> </Feature> The issue is that when I click the Next button and Server is selected nothing happens. Using the log I find Action 14:39:36: ServiceSelectionForm. Dialog created MSI (c) (A4:14) [14:43:11:771]: PROPERTY CHANGE: Modifying ServiceSelection_Property property. Its current value is 'Server'. Its new value: 'Application'. MSI (c) (A4:14) [14:55:08:615]: Note: 1: 2727 2: I have missed something with the features and that stops it from working. If I select a different option like Client then the button works and only the main feature is installed which is expected behaviour. I would like the next button to select a feature for Local install. Thanks for your help. Ralph Esslinger ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users