我安裝了Visual Studio 2012
,安裝了Wix 3.9.1208.0
。我正嘗試以BootStrapper Project
創建Bootstrapper
。這裏是Bundle.wxs
中的代碼。構建Wix項目時出現System.OutOfMemoryException錯誤
<?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 IconSourceFile="D:\logo.png" Copyright="[email protected] Name" Name="Product Name" Version="1.0.0.0" Manufacturer="Company Name" UpgradeCode="ef645195-36e9-4b99-8374-86f8445714d8">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication
LicenseFile="D:\License.rtf"
ShowVersion="yes"
/>
</BootstrapperApplicationRef>
<Chain>
<ExePackage Id="Framework" Name="Microsoft .NET Framework 4.5.1 Setup" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" InstallCommand="/q" SourceFile="D:\NDP451-KB2858728-x86-x64-AllOS-ENU.exe"/>
<ExePackage Id="SQLCompact" Name="Microsoft SQL Compact 4.0 Setup" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" InstallCommand="/q" SourceFile="D:\SSCERuntime_x86-ENU.exe"/>
<MsiPackage Id="CRRuntime" Name="Crystal Report Runtime" Cache="no" Compressed="yes" Permanent="yes" SourceFile="D:\CRRuntime_32bit_13_0_13.msi" Vital="yes" />
</Chain>
</Bundle>
每當我嘗試建立引導程序項目,我得到錯誤的exception of type 'System.OutOfMemoryException' was thrown
和文件light.exe
和構建失敗。
我有一個Core i3處理器和4GB內存,並在構建項目時,使用幾乎2GB內存和系統的VS部分無響應,直到關閉Visual Studio。停止生成過程不會釋放獲取的內存。
任何人都可以幫我嗎?