Select the product you need help with
Error message when you try to remove more than two images from a .wim file that contains four images in Windows Vista: "The data is invalid"Article ID: 947247 - View products that this article applies to. On This PageSYMPTOMSIn Windows Vista, when you try to remove more than two images from a .wim file that contains four images, you may receive the following error message: Error opening file [image_file]
The data is invalid. CAUSEThis problem occurs because the Wimgapi.dll file does not work correctly. WORKAROUNDTo work around this problem, create a new .wim file. Use the imagex /export switch to add images to the new .wim file. To do this in Windows Preinstallation Environment (Windows PE) 2.0, run the following command at a command prompt: imagex /export src_file src_number dest_file dest_name Note In this command, the src_file placeholder represents the file path of the .wim file that contains the image that is to be copied. The src_number placeholder represents the number that references the specific volume within the .wim file.
The dest_file placeholder represents the file path of the .wim file that will receive the image copy.
The dest_name placeholder represents the unique name for the image in the destination .wim file.
MORE INFORMATIONSteps to reproduce the problemIn Windows PE 2.0, type the following commands at a command prompt:imagex /capture image_path d:\imaging\data.wim 1 imagex /append image_path d:\imaging\data.wim 2 imagex /append image_path d:\imaging\data.wim 3 imagex /append image_path d:\imaging\data.wim 4
imagex /delete d:\imaging\data.wim 3 imagex /delete d:\imaging\data.wim 3 imagex /dir d:\imaging\data.wim 1 After you run these commands, you may receive the error message that is mentioned in the "Symptoms" section.PropertiesArticle ID: 947247 - Last Review: February 11, 2008 - Revision: 1.2 APPLIES TO
|


Back to the top








