error when installing usig answer file to move user directories.


  1. Posts : 13
    Windows 7 and XP on my server
       #1

    error when installing usig answer file to move user directories.


    I am trying to use this example file I found on microsoft's site:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <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">
                <FolderLocations>
                    <ProfilesDirectory>d:\Users</ProfilesDirectory>
                    <ProgramData>d:\ProgramData</ProgramData>
                </FolderLocations>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:h:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    I am using Professional instead of ultimate, so I tried to change this line to this:
    Code:
    <cpi:offlineImage cpi:source="wim:h:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    It errors out. What is the proper value to use when the version is Professional?

    Thank you.
      My Computer


  2. Posts : 13
    Windows 7 and XP on my server
    Thread Starter
       #2

    Here is the error and updated answer file:

    Windows could not parse or process unattend answer file [C:\Windows\Panther\unattend.xml] for pass [oobe]. The setting specified in the error file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].



    Here is the answer file(product key X'ed out):

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <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">
                <FolderLocations>
                    <ProfilesDirectory>d:/Users</ProfilesDirectory>
                    <ProgramData>d:/ProgramData</ProgramData>
                </FolderLocations>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-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">
                <UserData>
                    <ProductKey>
                        <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                    </ProductKey>
                </UserData>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:c:/installsource/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:43.
Find Us