Try something like

      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="SupplementalEulaDlg" Order="1"><![CDATA[&F_SrePlugins35="3" OR
&F_SrePlugins35="4"]]></Publish>
      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="2"><![CDATA[&F_SrePlugins35<>"3" OR
&F_SrePlugins35<>"4"]]></Publish>

I think that should work but it depends on when (if?) Windows Installer
re-evaluates the &Feature Properties. It normally checks that stuff
during CostFinalize which runs before the WelcomeDlg shows up in the
InstallUISequence so I'm not sure if it will re-evaluate them when you
change their entries in your SelectionTree. If it doesn't you may need
to write a custom action which calls MsiSetInstallLevel from the
SelectionTree dialog to force the re-evaluation.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Barry Dorrans [mailto:bdorr...@microsoft.com] 
Sent: 28 July 2010 02:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Adding a feature specific EULA

Last one. I hope.

I have my dialog working as expected now, and it appears in the dialog
flow. I now, finally, want to only make it appear if neither of two
particular features have never been installed, and either is being
installed.

I thought I'd try to get one condition working first and then expand the
logic to cover the either scenario, but I can't get that working. I
looked at the condition syntax and came up with the following 

      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="SupplementalEulaDlg"
Order="1"><![CDATA[&F_SrePlugins35="3"]]></Publish>
      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg"
Order="2"><![CDATA[&F_SrePlugins35<>"3"]]></Publish>

The MSDN page seemed to indicate that &F_SrePlugins35="3" would evaluate
to true of the feature was changing state to being installed, however
when I run the MSI I never see the SupplementalEulaDlg, it skips
straight to VerifyReadyDlg, even when the feature is checked to be
installed.

------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the Plug-In
Development Kit to bring their C/C++ apps to Palm for a share of $1
Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to