<mail-client messed-up="again"/> From: os...@live.com To: reesslin...@matthews.com.au Subject: RE: [WiX-users] Feature Selection Date: Wed, 3 Jul 2013 17:27:41 -0700
I've used various "home-grown" bootstrappers, embedded UI, and more recently Burn with custom BAs. From: reesslin...@matthews.com.au To: os...@live.com Subject: RE: [WiX-users] Feature Selection Date: Thu, 4 Jul 2013 00:25:03 +0000 I agree. What do you use instead? From: Blair Murri [mailto:os...@live.com] Sent: Thursday, 4 July 2013 10:24 AM To: Ralph Esslinger Subject: RE: [WiX-users] Feature Selection I work hard to avoid the MSI UI. It's arcane, severely limited, and very difficult to work with on so many levels. > From: reesslin...@matthews.com.au > To: os...@live.com > Subject: RE: [WiX-users] Feature Selection > Date: Thu, 4 Jul 2013 00:15:24 +0000 > > Blair, > > Reordering the Publish events has no effect. > > How do you do feature selection? Are there any XAML examples of enabling and > disabling features? > > Feature selection works if I have 2 Buttons. One does the selection and the > other does the spawning of the next dialog. Attempting to get it more user > friendly. > > Regards > Ralph Esslinger > > -----Original Message----- > From: Blair Murri [mailto:os...@live.com] > Sent: Wednesday, 3 July 2013 7:11 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Feature Selection > > Not certain but do you need to publish AddLocal before you publish NewDialog? > > > From: reesslin...@matthews.com.au > > To: wix-users@lists.sourceforge.net > > Date: Tue, 2 Jul 2013 23:16:15 +0000 > > Subject: [WiX-users] Feature Selection > > > > I am have a simple problem connecting feature selection to 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 > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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