Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
wix WixStdbaLicenseUrl不';使用自定义主题时不隐藏许可证_Wix_Burn - Fatal编程技术网

wix WixStdbaLicenseUrl不';使用自定义主题时不隐藏许可证

wix WixStdbaLicenseUrl不';使用自定义主题时不隐藏许可证,wix,burn,Wix,Burn,我用它来隐藏许可证对话 <WixVariable Id="WixStdbaLicenseUrl" Value=""/ 我想我应该知道。。。由于我使用的是自定义主题,因此可以通过编辑RthTheme.xml来删除rtf许可证文本的控件和accept按钮来解决这个问题 尽管如此,在使用自定义主题时,将WixStdbaLicenseUrl设置为空字符串可能会出现错误 希望我能得到自己的加分 默认情况下,基于RTF的许可证主题不提供隐藏RTF对话框的方法。您可以编辑主题以删除RTF许可证并自己接

我用它来隐藏许可证对话

<WixVariable Id="WixStdbaLicenseUrl" Value=""/

我想我应该知道。。。由于我使用的是自定义主题,因此可以通过编辑RthTheme.xml来删除rtf许可证文本的控件和accept按钮来解决这个问题

尽管如此,在使用自定义主题时,将WixStdbaLicenseUrl设置为空字符串可能会出现错误


希望我能得到自己的加分

默认情况下,基于RTF的许可证主题不提供隐藏RTF对话框的方法。您可以编辑主题以删除RTF许可证并自己接受复选框

基于超链接的许可证主题通过将
bal:wixstandardbootstrapper应用程序
元素的
LicenseUrl
属性设置为
,提供了隐藏许可证超链接和接受复选框的方法

因此,为了回答您的问题,我建议您采取以下措施:

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
  <bal:WixStandardBootstrapperApplication LicenseUrl=""
       LogoFile="="..\..\Tools\Building\buildIncludes\"
       ThemeFile="Resources\CustomHyperlinkBasedTheme.xml" />

  <Payload SourceFile="Resources\OtherStuffIfYouNeed.It" />
</BootstrapperApplicationRef>
<WixVariable Id="WixStdbaThemeWxl" Value="Resources\CustomHyperlinkBasedTheme.wxl" />

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense" >
    <bal:WixStandardBootstrapperApplication
            LicenseFile="..\..\Tools\Building\buildIncludes\LicenseAgreement-Memo.rtf"
      LogoFile="..\..\Tools\Building\buildIncludes\my.logo.png"
            SuppressOptionsUI="yes"
   />

</BootstrapperApplicationRef>
<!-- supress license display in boot strapper -->
<WixVariable Id="WixStdbaLicenseUrl" Value=""/>
<WixVariable Id="WixStdbaLicenseFile" Value=""/>
<!-- we are using a customized theme -->
<WixVariable Id="WixStdbaThemeXml" Value="Resource\RtfTheme.xml" />
<WixVariable Id="WixStdbaThemeWxl" Value="Resource\RtfTheme.wxl" />
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
  <bal:WixStandardBootstrapperApplication LicenseUrl=""
       LogoFile="="..\..\Tools\Building\buildIncludes\"
       ThemeFile="Resources\CustomHyperlinkBasedTheme.xml" />

  <Payload SourceFile="Resources\OtherStuffIfYouNeed.It" />
</BootstrapperApplicationRef>
<WixVariable Id="WixStdbaThemeWxl" Value="Resources\CustomHyperlinkBasedTheme.wxl" />