1
我開發了一個應用程序,它是一個32位和64位格式。這些應用程序也需要相應的註冊表項。我使用WiX將這些作爲單獨的包提供給32位和64位。創建一個單一的MSI安裝程序
現在我的要求是創建一個安裝程序,它根據操作系統配置安裝組件。我嘗試使用Bootstrapper捆綁我的軟件包。
我的引導程序的代碼看起來如下:
<Bundle Name="Bootstrapper" Version="1.0.0.0" Manufacturer="MYCOMPANY" UpgradeCode="b24f74ca-883c-4572-9479-37d92d733aa0">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<ExePackage Id="source1" Compressed="yes" PerMachine="yes" SourceFile="32\Sample.exe" InstallCondition="Not VersionNT64" />
<ExePackage Id="source2" Compressed="yes" PerMachine="yes" SourceFile="64\Sample.exe" InstallCondition="VersionNT64" />
</Chain>
</Bundle>
我的引導程序的輸出是微星。當我運行MSI時,我在詳細日誌中獲得MainEngineThread is returning 1620
。
請建議如何捆綁兩個EXE以獲得單個MSI軟件包。
[Wix安裝程序捆綁軟件生成損壞的「msi」]的可能重複(http://stackoverflow.com/questions/19134807/wix-installer-bundle-produces-corrupt-msi) –