Help - Search - Members - Calendar
Full Version: unattended.xml error in install
MSFN Forums > Unattended Windows Discussion & Support > Unattended Vista

   
Google Internet Forums Unattended CD/DVD Guide
juggernaut911
I get the following error:

Windows could not parse or process the unattend answer file [D:\autounattend.xml].
The answer file is invalid. The error was detected on line 31 column 1 of the answer file.



my answer file:
CODE
<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UseConfigurationSet>false</UseConfigurationSet>
</component>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<SkipUserOOBE>false</SkipUserOOBE>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>%systemdrive%\activ\default.cmd</CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<SkipUserOOBE>false</SkipUserOOBE>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>%systemdrive%\activ\default.cmd</CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>


line 31 column 1 is before (ot the actual) less then symbol on my ending unattend tag (</unattend>)

any help?
COOLCOMPUTERGUY
Could be the greator than symble after the URL:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Click to view attachment
juggernaut911
nope, doesnt even point there and I checked em, all correct
The Felon
Could be you have two different proccesor types on the same xml
processorArchitecture="x86"
processorArchitecture="amd64"
maxXPsoft
opened with Internet Explorer then it told me whats wrong
End tag 'unattend' does not match the start tag 'settings'.

You start the <settings pass="windowsPE"> but never close it then you open the <settings pass="oobeSystem">
That thing is totally messed up
juggernaut911
lol thnx. I copy and pasted from another one so that may be the prob!!

thnx guys!!

new (IE reads it!)
CODE
<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <UseConfigurationSet>false</UseConfigurationSet>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <OOBE>
                        <SkipUserOOBE>false</SkipUserOOBE>
                    </OOBE>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>%systemdrive%\activ\default.cmd</CommandLine>
                        <Order>1</Order>
                </SynchronousCommand>
            </FirstLogonCommands>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <OOBE>
                <SkipUserOOBE>false</SkipUserOOBE>
            </OOBE>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>%systemdrive%\activ\default.cmd</CommandLine>
                            <Order>1</Order>
                    </SynchronousCommand>
                </FirstLogonCommands>
        </component>
    </settings>
</unattend>
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.