Hi Rob, thank you for the hint, it has solved my problem.
My condition for the UI now uses the action state of the feature and replaces '&' with '&'. Then it works fine: <Condition Action="show">&Feature2=3</Condition> Thomas Rob Mensching-7 wrote: > > I think you need a & or ! before the Feature Id. Take a look at the > "Condition Statement Syntax" topic in the MSI SDK. > > On Thu, Nov 5, 2009 at 5:05 AM, SD_GOTH <g...@skidata.com> wrote: > >> >> Hello, >> I have an installation package with 2 features. At end of installation I >> want to display a checkbox for further actions only if feature #2 was >> installed. >> >> <Feature> >> <Feature Id="Feature1" Level="1"> >> <ComponentRef Id="Component1"/> >> </Feature> >> <Feature Id="Feature2" Level="1"> >> <ComponentRef Id="Component2"/> >> </Feature> >> </Feature> >> >> I tried to use the feature #2 in a condition for displaying the checkbox >> in >> the exit dialog. I’m checking for value 3 which mean that the feature >> should >> be installed locally. This didn’t work, the checkbox isn’t shown >> independent >> if feature #2 was selected or not. >> >> <UI> >> <Dialog Id="Dialog1" Width="370" Height="270" Title="Title1"> >> <Control Id="Ctrl1" Type="CheckBox" X="15" Y="10" Width="10" >> Height="10" Property='Prop1' >> CheckBoxValue='0' Hidden='yes'> >> <Condition Action="show">Feature2=3</Condition> >> </Control> >> </Dialog> >> </UI> >> >> Does anybody know how to do this? >> Thanks in advice. >> >> Thomas >> -- >> View this message in context: >> http://n2.nabble.com/Condition-depending-on-feature-didn-t-work-tp3952002p3952002.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Condition-depending-on-feature-didn-t-work-tp3952002p3972748.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users