Jump to content

enumeration operation may not execute


Ozzie
 Share

Recommended Posts

G'day all

This seems too be a vlite issue , it seem when using WSIM after a vlite creation of the OS that WSIM has trouble saving the Autounattend.xml , I found a solution too the problem by edit the XML and removing vlite from the last paragraph in the xml .It seem that ya renaming Windows Vista ULTIMATE image to Windows Vista (vLite) ULTIMATE seem to cause WSIM issue's . Is it possible in ya next release that ya can give the option of renaming the image than rather than force renaming the image.

Cheers

4:58 PM :

4:58 PM : User Name: Administrator

Machine Name: Vista-PC

Processor Architecture: x86

Domain Name: Vista-PC

CLR Version: 2.0.50727.312

OS Version: Microsoft Windows NT 6.0.6000.0

Current Directory: D:\VistaWork\DVD

Command Line Parameters: "C:\Program Files\Windows AIK\Tools\Image Manager\ImgMgr.EXE"

Physical Memory for this process: 50565120

Bitness for this process: Native 32-bit

File Version Information

C:\Program Files\Windows AIK\Tools\Image Manager

Microsoft.ComponentStudio.Command.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

Microsoft.ComponentStudio.Common.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

Microsoft.ComponentStudio.ComponentPlatformImplementation.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

Microsoft.componentstudio.componentplatforminterface.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

Microsoft.ComponentStudio.Controls.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

Microsoft.ComponentStudio.Serializer.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

ImageCat.EXE Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

ImgMgr.EXE Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

C:\Program Files\Windows AIK\Tools\Image Manager\EN

imagecat.resources.dll Microsoft Corporation 6.0.6000.16386 msil

ImgMgr.resources.dll Microsoft Corporation 6.0.6000.16386 msil

Microsoft.ComponentStudio.Command.resources.dll Microsoft Corporation 6.0.6000.16386 msil

Microsoft.ComponentStudio.Common.resources.dll Microsoft Corporation 6.0.6000.16386 msil

Microsoft.ComponentStudio.ComponentPlatformInterface.resources.dll Microsoft Corporation 6.0.6000.16386 msil

Microsoft.ComponentStudio.Controls.resources.dll Microsoft Corporation 6.0.6000.16386 msil

C:\Program Files\Windows AIK\Tools\Servicing\SmiEngine.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

C:\Program Files\Windows AIK\Tools\Servicing\pkgmgr.exe Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

C:\Program Files\Windows AIK\Tools\Servicing\cbscore.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

C:\Program Files\Windows AIK\Tools\Servicing\wcp.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

C:\Windows\system32\drivers\WimFltr.sys Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

C:\Windows\system32\wimgapi.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) x86

4:58 PM :

4:58 PM :

4:58 PM : Error saving D:\VistaWork\DVD\Autounattend.xml.

4:58 PM :

4:58 PM : System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

at System.Collections.Generic.List`1.Enumerator.MoveNext()

at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.ReadSettingsFromUnattendNode(Node unattendRoot)

at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.DoLoad(Boolean useImagePathInAnswerFile)

at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile..ctor(String path)

at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.OpenAnswerFile(String path)

at Microsoft.ComponentStudio.MainForm.OnFileSaveUnattend()

Link to comment
Share on other sites


G'day !

Yes that's correct , if I shut down the WSIM program then open it a again it can't load the autounattend.xml because of the vlite statement in the last paragraph , but removing the vlite statement , then it will load. It does save the XML and throws up the current error msg , the same thing happens when one is also modifing the autounattend.xml . I have too remove the vlite statement everytime I load the autounattend.xml.Yet if I don't use the vlite program at all , but use the WSIM on the OS then it's not a problem everything runs fine.

[vLite 1.1 Beta]

Cheers

Edited by Ozzie
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...