Tôi có dự án Setup.Bootstrapper để xuất dự án Setup.exe và thiết lập để cung cấp đầu ra setup.msi. Nhưng vấn đề là tại sao setup.exe của tôi không hiển thị ARPCOMMENTS và cũng không hiển thị tệp Banner.bmp khi chạy thiết lập. Mặt khác, Setup.msi vẫn hoạt động tốt.Tại sao setup.exe không hiển thị ARPCOMMENTS & WIXUIBanner.bmp nhưng setup.msi đang hiển thị nội dung này?
Mã Bundle mà tôi đang sử dụng cho Setup.Bootstrapper (Bundle.wxs) là:
<?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>
Và Thiết lập dự án sử dụng tình trạng Banner.bmp & ARP là:
<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" />
bất kỳ ý tưởng?