Jump to content

Help with Autounattend


Recommended Posts

What´s wrong in Autounattend.xml below? I put it in a floppy but Vista just ignores it...

help!

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<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>***************************</Key>

<WillShowUI>OnError</WillShowUI>

</ProductKey>

<AcceptEula>true</AcceptEula>

<FullName>Full Name</FullName>

<Organization>Final FX</Organization>

</UserData>

<DiskConfiguration>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Order>1</Order>

<Size>15000</Size>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Extend>false</Extend>

<Format>NTFS</Format>

<Label>OS_Install</Label>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>OnError</WillShowUI>

</DiskConfiguration>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:e:/download/incoming/vista%20x64%20retail/lrmcxfre_en_dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Edited by Orsi
Link to comment
Share on other sites


Not sure if this helps, but here you go. Sounds like your answer file is not seen by the Vista install process I make it a habbit to clean the hard drive between test passes with my unattended installation.

Implicit Answer File Search Order:

1 Registry HKLM\System\Setup!UnattendFile

Specifies a pointer in the registry to an answer file. The answer file is not required to be named Unattend.xml.

2 %WINDIR%\panther\unattend

The name of the answer file must be Unattend.xml or Autounattend.xml.

3 %WINDIR%\panther

Windows Setup caches answer files to this location.

Important:

Do not overwrite the answer files in these directories.

4 Removable read/write media in order of drive letter, at the root of the drive.

Removable read/write media in order of drive letter, at the root of the drive.

The name of the answer file must be Unattend.xml or Autounattend.xml, and the answer file must be located at the root of the drive.

5 Removable read-only media in order of drive letter, at the root of the drive.

Removable read-only media in order of drive letter, at the root of the drive.

The name of the answer file must be Unattend.xml or Autounattend.xml, and must be located at the root of the drive.

6 windowsPE and offlineServicing passes:

In the windowsPE and offlineServicing passes, the name of the answer file must be Autounattend.xml.

- \sources directory in a Windows distribution

All other passes:

- %WINDIR%\system32\sysprep

7 %SYSTEMDRIVE%

The answer file name must be Unattend.xml or Autounattend.xml

Because answer files are cached to the computer during Windows Setup, your answer files will persist on the computer between reboots. Before you deliver the computer to a customer, you must delete the cached answer file in the %WINDIR%\panther directory. However, if you have unprocessed settings in the oobeSystem configuration pass that you intend to run when an end-user starts the computer, do not delete the cached answer file.

Link to comment
Share on other sites

well, I tested it in a real install and found that just some parts of the answers were ignored, like system locale and product key but HD formating and so on worked perfectly

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...