error when installing usig answer file to move user directories.

chedderslam

New member
Local time
10:41 AM
Messages
13
Location
Mobile, AL
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 My Computer

Computer Manufacturer/Model Number
Custom Home Built
OS
Windows 7 and XP on my server
CPU
Core i7 920 @ 2.8Ghz
Motherboard
EVGA Classified e760
Memory
6 Gigs Corsair @ 1600 Mhz
Graphics Card(s)
XFX 5770
Sound Card
Integrated
Monitor(s) Displays
Dell 24" ultrasharp
Hard Drives
3xSpinpoint f1 500gb (raid 0)
3xSpinpoint f1 1tb (raid 5)
PSU
Corsair 1000Hx
Case
Ascension Duality(mountainmods.com)
Cooling
Corsair H-50
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 My Computer

Computer Manufacturer/Model Number
Custom Home Built
OS
Windows 7 and XP on my server
CPU
Core i7 920 @ 2.8Ghz
Motherboard
EVGA Classified e760
Memory
6 Gigs Corsair @ 1600 Mhz
Graphics Card(s)
XFX 5770
Sound Card
Integrated
Monitor(s) Displays
Dell 24" ultrasharp
Hard Drives
3xSpinpoint f1 500gb (raid 0)
3xSpinpoint f1 1tb (raid 5)
PSU
Corsair 1000Hx
Case
Ascension Duality(mountainmods.com)
Cooling
Corsair H-50
Back
Top