WiX标准bootstrapper应用程序(刻录) - 图像大小

时间:2018-04-20 07:37:46

标签: wix

我正在使用wixtoolset.org提取此摘录 - Changing the WiX Standard Bootstrapper Application Branding,因为我正在使用HyperlinkSidebarLicense用户界面。

    <?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
  <Bundle>
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkSidebarLicense">
      <bal:WixStandardBootstrapperApplication
        LicenseUrl="License.htm"
        LogoFile="path\to\customlogo.png" LogoSideFile="path\to\customsidelogo.png"
        />
    </BootstrapperApplicationRef>

    <Chain>
      ...
    </Chain>
  </Bundle>
</Wix>

但是,我似乎无法找到PNG文件大小所需的任何参考。

有没有人在推荐之前与谁一起工作?

2 个答案:

答案 0 :(得分:2)

根据source中包含的图像,看起来像...

  • LogoFile为64x64
  • LogoSideFile为165x400

答案 1 :(得分:0)

这些的大小可以在相应的wix主题文件中找到:   -RtfTheme.xml   -HyperlinkLicenseTheme.xml   -FoundationTheme.xml

根据您使用的是哪个,我不确定它们是否随主题而变化,但这就是大小所在。

注意(我相信这是一个错误,但是我不确定):如果您尝试将主题复制到自己的主题中并修改主题图像名称,那么wix解决方案将无法启动。

使用WixStandardBootstrapperApplication中的属性,我们还有另一个解决方案,该解决方案使用64x64的LogoFile而使用128x128的LogoSideFile。所以我再次对WiX感到困惑。

您的里程可能会有所不同。

相关问题