WiX standard bootstrapper application (burn) - image sizes
我正在跟踪wixtoolset.org的摘录-当我使用HyperlinkSidebarLicense UI时,更改WiX Standard Bootstrapper应用程序品牌。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <?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文件大小的参考。
有人在使用引导程序之前有谁可以在这里提供建议吗?
根据源代码中包含的图像,它看起来像...
- LogoFile为64x64
- LogoSideFile为165x400
这些的大小可以在相应的wix主题文件中找到:
-RtfTheme.xml
-HyperlinkLicenseTheme.xml
-FoundationTheme.xml
根据您使用的是哪个,我不确定它们是否随主题而变化,但这是大小的所在。
注意(我相信这是一个错误,但是我不确定):如果您尝试将主题复制到自己的主题中并完全修改主题图像名称,那么wix解决方案将无法启动。
使用WixStandardBootstrapperApplication中的属性,我们还有另一个解决方案,该解决方案使用64x64的LogoFile而使用128x128的LogoSideFile。因此,我再次对WiX感到有些困惑。
您的里程可能会有所不同。