Friday, January 4, 2008

Vista: Automated Installation Kit (AIK) and answer file

Google.com for Windows Automated Installation Kit (AIK) to download vista_6000.16386.061101-2205-LRMAIK_EN.img file.

Using the UltraISO to extract it to a folder in your Hard Drive;

For 32-bit OS, you need the two files: WAIKX86.msi and WINPE.cab.

I burned the img file to DVD and ran the AIK setup, it asked me for insert the AIK CD even though the DVD was in DVD drive.


Work at Windows Server 2003
install the WIK software;
insert the Vista DVD into DVD drive;
copy the source\Install.wim file to C:\Vista_installation folder;
run the Windows System Image Manager;
File menu -- click Select Windows Image --C:\Vista_installation\install.wim;
Select the Vista Business --Generate a catalog file;
New Answer File;

Add Components;

Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition
-->1 Windows PE
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition
-->1 Windows PE
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo
-->1 Windows PE
Microsoft-Windows-Setup\UserData
-->1 Windows PE
Microsoft-Windows-International-Core-WinPE
-->windowsPE

Configure Windows Settings:


Microsoft-Windows-International-Core-WinPE
InputLocale = en-us
SystemLocale = en-us
UILanguage = en-us
UserLocale = en-us
Microsoft-Windows-International-Core-WinPE\SetupUILanguage
UILanguage = en-us
Microsoft-Windows-Setup\DiskConfiguration
WillShowUI = OnError
Microsoft-Windows-Setup\DiskConfiguration\Disk
DiskID = 0
WillWipeDisk = true
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition
Extend – false
Order = 1
Size = 20000
(Note: This example creates a 20 GB partition.)
Type = Primary
Microsoft-Windows-Setup \DiskConfiguration\Disk\ModifyPartitions\ModifyPartition
Active = true
Extend = false
Format = NTFS
Label = OS_Install
Letter = C
Order = 1
PartitionID = 1
Microsoft-Windows-Setup\ImageInstall\OSImage\
WillShowUI = OnError
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo
DiskID = 0
PartitionID = 1
Microsoft-Windows-Setup\UserData
AcceptEula = true
Microsoft-Windows-Setup\UserData\ProductKey
Key = P6VCV-449FC-94R4B-Q4GQ8-WQQJM
WillShowUI = OnError

After entering all the values, Tool menu--validate the answer file;

After passing the validation, save it to c:\Vista-installation\Autounattend.xml ;
copy the autounattend.xml file to floppy;


========

Work at the new computer

insert the floppy with autounattend.xml file to floppy drive;
insert the Vista DVD into DVD drive;
turn on the computer and make sure it boots from the Vista DVD;
Windows Vista Setup (Setup.exe) searches all removable media for an answer file named Autounattend.xml and completes the installation fully-unattended;