Search code examples
visual-studio-2010installationpackaging

Error "Not enough storage is available to complete this operation" while building large package in VS2010 SP1


I'm using Visual Studio 2010 SP1 to create a setup package. i added about 3.2GB files to my package. but when i build the project i got this error after few seconds:

Error Could not find file 'D:\saj\repo\23.zip' 
'Not enough storage is available to complete this operation.'   
D:\Visual Studio 2010\Projects\Saj Setup\Saj Setup\Saj Setup.vdproj 
Saj Setup

but D:\saj\repo\23.zip file exist in that path! What is wrong? Do i need a bigger machine to build this?

My System Details:

CPU: AMD Athlone 64 X2 Dual Core 4600+ 2.40G
RAM: 3.00GB
HDD Free space: 9.6G Free on C:\ and 46.0G Free on D:\ drive.

and This solution not worked for me :(


Solution

  • The problem is that all setup files shall reside in RAM. Needless to say the for big installation this is a huge limit.

    Your best bet would be develop a deploy package with another software.

    I would suggest you Wix: it is integrated with VS, it's open source and it uses MSI SDK.