MSFN Forum: Help with Autounattend - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help with Autounattend Rate Topic: -----

#1 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 263
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 February 2007 - 09:30 AM

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>

This post has been edited by Orsi: 12 February 2007 - 01:28 PM



#2 User is offline   shawn1024 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 18-April 06

Posted 08 February 2007 - 10:32 PM

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.

#3 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 263
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 February 2007 - 10:37 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy