我安装了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。停止生成过程不会释放获取的内存。
任何人都可以帮我吗?