System Image Manager --> Unknown setting attribute xmlns:wcm

A

Alex Fischer

I've tried to build an answer file with Windows System Image Manager
(6.0.6000.16386). Every time I'm trying to manage DiskConfiguration I get an
error message as soon as I want to save the file:

Error saving Path\file.xml
Details: Line 41: Unknown setting attribute xmlns:wcm.

Can anybody help me? I've no clue to get this problem solved with WSIM. This
is the important (I guess so) part out of the file:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>mykey</Key>
</ProductKey>
<FullName>Koehler ITG</FullName>
<Organization>myORG</Organization>
<AcceptEula>true</AcceptEula>
</UserData>
<ImageInstall>
<OSImage>
<InstallTo>
<PartitionID>1</PartitionID>
<DiskID>0</DiskID>
</InstallTo>
<InstallToAvailablePartition>true</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Domain>mydomain</Domain>
<Password>mypassord</Password>
<Username>myuser</Username>
</Credentials>
</Login>
<ImageSelection>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
<EnableFirewall>false</EnableFirewall>
<DiskConfiguration>
<Disk wcm:action="add"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Type>Primary</Type>
<Order>1</Order>
<Size>25000</Size>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>Extended</Type>
<Extend>true</Extend>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Type>Logical</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>0</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Vista-OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
</component>
<component name="Microsoft-Windows-International-Core-WinPE"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<SetupUILanguage>
<WillShowUI>OnError</WillShowUI>
<UILanguage>de-DE</UILanguage>
</SetupUILanguage>
<UILanguage>de-DE</UILanguage>
</component>
</settings>
 
A

Alex Fischer

No, that doesn't work, too!

If I remove the argument from the self-generated XML-File I get an error
message while trying to import it in the System Image Manager:

Error opening ...pathtofile...\file.xml
Detail: 'wcm' is an undeclared namespace. Line 41, position 23


Even if that has worked (it has not) how should I avoid that Windows System
Image Manager wouldn't insert this error again and again. It seems that
there's a problem with WSIM, isn't it!

Alex
 
H

Halldor Hrafn Jonsson

Hi.

Try creating a brand new un-edited answer file and after each modification
of the file run the "Validate Answer File" from the Tools menu and when you
get an error you should be able to see what caused it and prevent it.

If this doesn´t work then I would suggest re-installing WSIM. Also I would
recommend you clicking the Help - Image Manager Help and searching for
"walkthrough: build a simple".

Best regards,

Halldor Hrafn Jonsson
MCP 2811033
 
A

Alex Fischer

Found it !

You have to edit the XML file manually once a time. After this modification
further steps are completely accepted. That's more than curious and of
course not normal. All the people out there with the same level of xml know
how than me: have fun !!!

Probalby someone of the development team should take an eye on this (after
they stopped celebrating the vista launch ;-) ....)

Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top