Wix 引导程序多个超链接文本

Wix bootstrapper multiple hyperlink text

我的想法是用不同的名称制作多个许可条款 link 其中一个应该是“许可条款”,然后是“诊断” ”。但是后来我尝试更改名称时遇到了这个问题:

这是我的代码 RtfTheme.XML:

        <Page Name="Install">
        <Hypertext Name="EulaHyperlink" X="94" Y="-100" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallLicenseLinkText)</Hypertext>
        <Checkbox Name="EulaAcceptCheckbox" Height="30" Width="300" X="120" Y="-67" FontId="3">#(loc.InstallLicenseLinkCheckBox)</Checkbox>
        <Button Name="InstallButton" X="160" Y="-30" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
        <Button Name="InstallCancelButton" X="240" Y="-30" Width="75" Height="23" TabStop="yes" FontId="0">
            <Text>Cancel</Text>
            <CloseWindowAction />
        </Button>
    </Page>

Bundle.wxs:

  <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense" >
  <bal:WixStandardBootstrapperApplication
    LogoFile="Resources/banner.png" LogoSideFile="Resources/r2.png"
    ThemeFile="Resources/RtfTheme.xml"
    LocalizationFile="Resources/RtfTheme.wxl"
    LicenseUrl="http://opensource.org/licenses/ms-rl" />
    <Payload SourceFile="Resources/r2.png"/>

</BootstrapperApplicationRef>

RtfTheme.WXL

   <String Id="InstallLicenseLinkText">By installing you accept these &lt;a href="#"&gt;license terms&lt;/a&gt;</String>
  <String Id="InstallLicenseLinkCheckBox">Also include &lt;a href="#"&gt;diagnostics&lt;/a&gt;</String>

也许谁有同样的问题并且知道我该如何解决这个问题?请提出建议。

将您的复选框设置为与复选框本身一样大小,不带文本。添加位于复选框右侧的第二个 <Hypertext>