Microsoft KB Archive/945683

= Error message when you use an Unattend.xml file to install Windows Vista through a .wim file: &quot;Windows could not calculate how much space is required for installation&quot; =

Article ID: 945683

Article Last Modified on 12/13/2007

-

APPLIES TO


 * Windows Vista Enterprise 64-bit Edition
 * Windows Vista Home Basic 64-bit Edition
 * Windows Vista Home Premium 64-bit Edition
 * Windows Vista Ultimate 64-bit Edition
 * Windows Vista Business
 * Windows Vista Business 64-bit Edition
 * Windows Vista Enterprise
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Ultimate

-



SYMPTOMS
You use a Windows Vista-based computer to generate a Windows Imaging Format (.wim) file that contains more than 30 images. When you use an Unattend.xml file to install Windows Vista through the .wim file, the installation fails. Additionally, you receive an error message that resembles the following:

Windows could not calculate how much space is required for installation.



CAUSE
This problem occurs because the Unattend.xml file is too large.

When the .wim file grows, the size of the XML data that describes the .wim file grows. If a .wim file contains 30 or more images, the size of the corresponding XML data increases to more than 64 kilobytes (KB). Therefore, functions that read the XML data truncate some XML data.



RESOLUTION
A hotfix is available to resolve this problem. To apply this hotfix on an x86-based computer, follow these steps.

Note To apply this hotfix on an x64-based computer, replace x86 with x64 in the commands in steps 1 and 2.  Run the following command to expand the .msu file:

Expand -f:Windows6.0-KB945683-x86.cab \Windows6.0-KB945683-x86.msu

 Run the following commands to expand the .cab file:

Expand -f:*.exe \Windows6.0-KB945683-x86.cab

Expand -f:*.dll \Windows6.0-KB945683-x86.cab

After you run these commands, you will obtain some .exe and .dll files. Use the files that you obtain in step 2 to overwrite the original files in the \Source folder.

Note  is a placeholder for the location of the contents of the Windows setup media.

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
There are no prerequisites for installing this hotfix.

Restart requirement
You must restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace a previously released hotfix.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista, x64-based versions


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbfix kbqfe kbexpertiseadvanced kbhotfixserver KB945683

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.