Dear All,
I use wix-3.0.2925 and I wrote an "InstallScopeDlg.wxs" which I attached in
this email. I got the following error while use candle command for this dialog:
InstallScopeDlg.wxs(25) : error CNDL0107 :
Schema validation failed with the following error:
The element 'Control' in namespace 'http://schemas.microsoft.com/wix/2006/wi'
has invalid child element 'RadioButtonGroup' in namespace
'http://schemas.microsoft.com/wix/2006/wi'.
List of possible elements expected: 'Binary Condition Publish Subscribe'.
While in the help document of wix-3.0.2925, it is mentioned that
'RadioButtonGroup' is a child element for ''Control' element.
Could you please help me in this regard?
Thanks in advance
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
The use and distribution terms for this software are covered by the
Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
which can be found in the file CPL.TXT at the root of this distribution.
By using this software in any fashion, you are agreeing to be bound by
the terms of this license.
You must not remove this notice, or any other, from this software.
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<UI>
<Dialog Id="InstallScopeDlg" Width="370" Height="270"
Title="!(loc.InstallScopeDlg_Title)" KeepModeless="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0"
Width="370" Height="44" TabSkip="no" Text="!(loc.InstallScopeDlgBannerBitmap)"
/>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370"
Height="0" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
Height="0" />
<Control Id="Description" Type="Text" X="25" Y="23" Width="280"
Height="20" Transparent="yes" NoPrefix="yes"
Text="!(loc.InstallScopeDlgDescription)" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200"
Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallScopeDlgTitle)"
/>
<Control Id="BothScopes" Type="RadioButtonGroup" X="20" Y="55"
Width="330" Height="120" Property="WixAppFolder" Hidden="yes">
<Property Id="WixAppFolder"
Value="WixPerUserFolder" />
<RadioButtonGroup Property="WixAppFolder">
<RadioButton Value="WixPerUserFolder" X="0" Y="0"
Width="295" Height="16" Text="!(loc.InstallScopeDlgPerUser)" />
<RadioButton Value="WixPerMachineFolder" X="0" Y="60"
Width="295" Height="16" Text="!(loc.InstallScopeDlgPerMachine)" />
</RadioButtonGroup>
<Condition Action="show">Privileged AND
(!(wix.WixUISupportPerUser) AND !(wix.WixUISupportPerMachine))</Condition>
</Control>
<Control Id="PerUserDescription" Type="Text" X="33" Y="70"
Width="300" Height="36" Hidden="yes" NoPrefix="yes"
Text="!(loc.InstallScopeDlgPerUserDescription)">
<Condition
Action="show">!(wix.WixUISupportPerUser)</Condition>
</Control>
<Control Id="NoPerUserDescription" Type="Text" X="33" Y="70"
Width="300" Height="36" Hidden="yes" NoPrefix="yes"
Text="!(loc.InstallScopeDlgNoPerUserDescription)">
<Condition Action="show">NOT
!(wix.WixUISupportPerUser)</Condition>
</Control>
<Control Id="PerMachineDescription" Type="Text" X="33" Y="131"
Width="300" Height="36" Hidden="yes" NoPrefix="yes"
Text="!(loc.InstallScopeDlgPerMachineDescription)">
<Condition Action="show">Privileged</Condition>
</Control>
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="!(loc.WixUIBack)" />
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)" />
<Control Id="Cancel" Type="PushButton" X="304" Y="243"
Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
</Dialog>
</UI>
</Fragment>
</Wix>
------------------------------------------------------------------------------
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