Previous Topic: Windows 2003 和 Windows XP 平台Next Topic: 在安装失败时添加一个 OEM SCSI/RAID/SCSI 驱动程序


将 OEM 网络适配器驱动程序添加到 RIS 安装程序的方式

在 Windows Server 2003 和 Windows XP 上有效

症状

添加一个需要 OEM 驱动程序的网络适配器到基于 CD-ROM 的 RIS 映像,与将这样一个驱动程序添加到典型的无人值守的安装程序一样,有几个步骤。但是,因为安装程序方法是使用“预启动执行环境”(PXE) 开始的,再转而使用服务器消息组 (SMB) 协议,所以网络适配器驱动程序与其 .inf 文件必须在进行文本模式的安装时为可用状态。如果驱动程序与 .inf 文件不可用,您会收到以下报错消息:

网络服务器不支持启动 Windows 2003。安装无法继续。请按任意键退出。

当正在运行客户端安装向导 (CIW) 的 PXE 客户端连接到 RIS 服务器时,网络适配器正在使用“通用网络设备接口”与 RIS 服务器通信。当“Windows 安装”切换到 SMB 时,检测到网络适配器,然后加载合适的驱动程序。因此,驱动程序必须为可用。

解决方案

您可以将 OEM 网络适配器添加到 RIS 映像。

执行以下操作:

检查 OEM 以确定所提供的网络适配器驱动程序是否有数字签名。如果制造商的驱动程序中包含一个目录文件 (.cat),则它们就有正确的签名。Microsoft 签名的驱动程序已经过验证并经过 Windows 上的测试。If your driver has not been signed but you still want to use it, make sure to add the following unattended-setup parameter to the .sif file that is located in the RemoteInstall\Setup\Language\Images\Dir_name\I386\Templates folder:[Unattended]

DriverSigningPolicy = Ignore

Note:If the OEM driver is an update of an included Windows XP driver (for example, if the drivers have the same name), the file must be signed or else Setup uses the included driver instead.

  1. 在 RIS 服务器上,将 OEM 提供的网络适配器的 .inf.sys 文件复制到 RemoteInstall\Setup\Language\Images\Dir_name\i386 文件夹中。它允许在安装程序进入文本部分时使用驱动器。
  2. 请在和 RIS 映像中的 i386 文件夹相同的级别创建 $oem$ 文件夹。请使用以下结构:
    \$oem$\$1\Drivers\Nic 
    
  3. 将 OEM 提供的驱动程序文件复制到此文件夹。注意 .inf 文件查找驱动器的文件夹。某些制造商将 .inf 文件放在一个文件夹中,然后从子文件夹中复制驱动程序文件。如果是这样,请在这一步创建的文件夹下再创建一个相同的文件夹结构。
  4. 对用于此映像安装程序的 .sif 文件做出以下更改:
    [Unattended]
    OemPreinstall = yes
    OemPnpDriversPath = \Drivers\Nic
    
  5. 停止,再重启 RIS 服务器上的“远程安装服务”(BINLSVC)。进行此操作时,在命令提示符处输入以下命令,每输一个命令,按一下 Enter
    net Stop binlsvc
    net Start binlsvc
    

    注意:You must stop and restart the Remote Installation Service because the Boot Information Negotiation Layer (BINL) needs to read all the new network adapter-related .inf files and create .pnf files in the image.这是一项耗时的工作,且仅在“远程安装服务”启动时执行。

如果您有需要 OEM 驱动程序的多重网络适配器,请为每个适配器执行前述的步骤。但是,包含网络适配器驱动程序的 PXE 客户端不受这些更改的影响,且可以使用此映像进行安装。