我有Setup.Bootstrapper项目输出Setup.exe和安装项目以提供setup.msi输出。但问题是为什么我的setup.exe没有显示ARPCOMMENTS,也没有在运行安装程序时显示Banner.bmp文件。另一方面,Setup.msi工作正常。
我用于Setup.Bootstrapper(Bundle.wxs)的Bundle代码是:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="ABC" Version="3.0.0.0" Manufacturer="XYZ, Inc." UpgradeCode="1EB9EC76-9E5F-4471-B522-314A62518A80">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="License.rtf" SuppressOptionsUI="yes" />
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id="NetFx40ClientWeb" />
<MsiPackage Compressed="yes" SourceFile="Setup.msi" Vital="yes" />
</Chain>
</Bundle>
</Wix>
使用Banner.bmp&amp; amp; ARP状态为:
<UIRef Id="WixUI_InstallDir" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="Bitmaps/Banner.bmp" />
<Property Id="ARPPRODUCTICON" Value="ABC.exe" />
<Property Id="ARPCONTACT" Value="XYZ, Inc." />
<Property Id="ARPURLINFOABOUT" Value="http://www.xyz.com/" />
<Property Id="ARPCOMMENTS" Value="abc" />
任何想法?