8.Save the answer file and exit Windows SIM. The answer file must be similar to the following sample. The sample assumes the architecture is
<?xml version="1.0" ?>
<unattend
<settings pass="offlineServicing">
<component
<DriverPaths>
<PathAndCredentials wcm:keyValue="1"> <Path>>\\yourshare\share\DriverPack\amd64</Path> <Credentials>
<Domain>MyDomain</Domain> <Username>MyUserName</Username> <Password>MyPassword</Password>
</Credentials>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
</unattend>
9.Use Package Manager to apply the unattended installation answer file to the mounted Windows image. Specify a location for the log file to create. For more information about using Package Manager, see the Microsoft Windows AIK documentation. For example,
pkgmgr /o:"C:\wim_mount\;C:\wim_mount\Windows" /n:"C:\ unattend.xml" /l:"C:\pkgmgrlogs\logfile.txt"
The .inf files referenced in the path in the answer file are added to the Windows image. A log file is created in the directory C:\Pkgmgrlogs\.
10.Review the contents of the %WINDIR%\Inf\ directory in the mounted Windows image to ensure that the .inf files were installed. Drivers added to the Windows image are named oem*.inf. This is to ensure unique naming for new drivers added to the computer. For example, the files MyDriver1.inf and
MyDriver2.inf are renamed oem0.inf and oem1.inf.
11.Unmount the .wim file and commit the changes. For example: imagex /unmount /commit C:\wim_mount
12.Replace the service image and Enable the image.
a.If the Windows Deployment Services
62 Sun Blade X6250 Server Module Windows Operating System Installation Guide • September 2008