Sorry, please ignore. I was making this much more difficult than it had to 
be. This seems to be what I want:

<Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" 
Value="SqlSpecDlg" Order="1">&DbFeature=3</Publish>

Hopefully will help someone who might one day search for this anyway!!!

JamieT

-----Original Message----- 
From: Jamie Thomson
Sent: Friday, February 11, 2011 5:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Conditions on  - how do Imake it dependent on a

Hi,
I am attempting to customise my installer dialogs.

I have a <Dialog Id="SqlSpecDlg">  that prompts for a database instance
name - but I only want to display the Dialog if the user has opted to
install <Feature Id="DbFeature">

On the previous <Dialog> I have this:
<Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="SqlSpecDlg" Order="1">[CDATA[(&DbFeature=3)]]</Publish>

This is giving an error:
Entity 'DbFeature' not defined.


<Feature Id="DbFeature"> is defined in a different file although I tried
moving all the code into the same file and got the same error.


Can someone guess as to what is wrong here? Is the syntax of my condition
incorrect?

thanks in advance

JamieT


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to