Re: [WiX-users] Question about Control element
Amy Rosewater wrote: 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 I'm pretty sure that it's a limitation in XSD schemas but please enter a bug so someone verifies that. -- sig://boB http://joyofsetup.com/ - 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
[WiX-users] Question about Control element
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[IISUSEWINDOWSAUTHENTICATIONchecked]]/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[IISUSEWINDOWSAUTHENTICATIONchecked]]/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
Re: [WiX-users] Question about Control element
Interesting, the docs for Control do say that you can use the Text element underneath Control when CDATA is required. In your case, since you don't need to wrap your text in CDATA, you can just use the Text attribute instead: Control ... Text=[CreateVantageAdminDomainIdentityTextLabel] ... /Control Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Rosewater Sent: June-17-08 8:30 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Question about Control element 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[IISUSEWINDOWSAUTHENTICATIONchecked]]/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[IISUSEWINDOWSAUTHENTICATIONchecked]]/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 - 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