是不是把驱动里的DLL或DRV文件拷贝到系统盘里的某个文件夹啊?例如有些打印机驱动是“添加打印机”方法安装,有些则是以执行程序方法安装,区别在哪里啊?

解决方案 »

  1.   

    <Windows WDM设备驱动程序开发指南>
    有详细介绍
      

  2.   

    不同的驱动有不同的安装方法。一般来说是用inf文件,或者用scm。
      

  3.   

    一般都是在C:\windows\system32\driver\下面, C盘是系统盘.
      

  4.   

    补充楼上,*.sys 是在 系统的 system32\driver\,比如C:\windows\system32\driver\inf,在 C:\windows\inf 下,XP通常是 oem**.inf
      

  5.   

    其实所有的驱动通过拷贝文件和修改注册表就可以安装了。
    至于“添加打印机”这类的装驱动,只是为了照顾非专业人士的方法。实际上也是根据指定的inf文件来拷贝文件和修改注册表。
      

  6.   

    其实是这样比较好,用DDK中driver setup例子,比较好,我以前写过注册表,但安装会有问题的。
      

  7.   

    拷贝文件 好象也不是直接把DRV文件放到系统目录下吧。
    因为在系统盘下搜不到已经安装过的打印机驱动DRV文件。
      

  8.   

    用windows优化大师的驱动备份就可以了,用od跟一下就知道了
      

  9.   

    The PnP Manager and setup subsystems rely heavily on four keys in the HKEY_LOCAL_MACHINE branch of the registry. These are called the hardware key, the class key, the driver key, and the service key. (See Figure 15-1.) To be clear, these are not the proper names of specific subkeys: they are generic names of four keys whose pathnames depend on the device to which they belong. Broadly speaking, the hardware and driver keys contain information about a single device, the class key concerns all devices of the same type, and the service key contains information about the driver. People sometimes use the name instance key to refer to the hardware key and software key to refer to the driver key. The multiplicity of names derives from the fact that Windows 95/98/Me and Windows XP were written (mostly) by different people. A fifth key, the hardware parameters key, might also exist; it contains nonstandard parameter information about the device.