I added the following xml to my .wxs file:

 

<Control Id="DomainIdentityLabel" Type="Text" X="32" Y="151" Width="79"
Height="10">

<Condition
Action="hide"><![CDATA[IISUSEWINDOWSAUTHENTICATION<>"checked"]]></Condit
ion>

<Condition
Action="show"><![CDATA[IISUSEWINDOWSAUTHENTICATION="checked"]]></Conditi
on>

<Text>[CreateVantageAdminDomainIdentityLabelText]</Text>

</Control>

 

...and received the following error:

Schema validation failed with the following error: The element 'Control'
in namespace 'http://schemas.microsoft.com/wix/2006/wi' has invalid
child element 'Text' in namespace
'http://schemas.microsoft.com/wix/2006/wi'. List of possible elements
expected: 'Condition Publish Subscribe'. in iVantageUI.wxs

 

If I move the Text node above the condition node like so:

 

<Control Id="DomainIdentityLabel" Type="Text" X="32" Y="151" Width="79"
Height="10">

<Text>[CreateVantageAdminDomainIdentityLabelText]</Text>

<Condition
Action="hide"><![CDATA[IISUSEWINDOWSAUTHENTICATION<>"checked"]]></Condit
ion>

<Condition
Action="show"><![CDATA[IISUSEWINDOWSAUTHENTICATION="checked"]]></Conditi
on>

</Control>

 

...I do not get the error.

 

Any particular reason why this might be?

 

Amy

 

Amy Rosewater

SPECTRUM Human Resource Systems Corporation

707 17th Street Suite 3800

Denver CO, 80202

303.592.3403

[EMAIL PROTECTED]

 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to