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 64-bit.

<?xml version="1.0" ?>

<unattend xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:wcm= "http://schemas.microsoft.com/WMIConfig/2002/State">

<settings pass="offlineServicing">

<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">

<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 snap-in is not running, click Start, click Administrative Tools, and then click Windows Deployment Services.

62 Sun Blade X6250 Server Module Windows Operating System Installation Guide • September 2008

Page 70
Image 70
Sun Microsystems X6250 manual MyDriver2.inf are renamed oem0.inf and oem1.inf