To install the bus driver on Vista and later OS, use devcon.exe as shown below.
Another quick way to install the bus driver without going through so many mouse clicks would be to use the Installer sample application present in the src\tools\devcon directory. This sample allows you to root-enumerate a driver with one simple command. Please read the help file included in the sample on how to build and use the application to install this driver. To install the bus driver using devcon.exe:
c:\>devcon.exe install bus.inf "root\busenum"
The system copies the busenum.sys file to the %Systemroot%\system32\drivers directory and sets up the following registry keys to represent the bus driver to the PnP manager:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\nnnn
// nnnn is the instance number of this System Class driver on the system.
It copies the INF file as OEM.n.INF, where n is a zero-based number, to the system INF directory. It also creates the standard Services keys to load the driver:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\busenum.
toaster这个总线驱动例子 在win7 32位 上 按照上面说明用devcon 安装完以后
查看注册表 里面没有说明最后里的 busenum 这个键
就是说服务根本没被安装上…
在win7上安驱动有什么特别注意事项么
安装了好几个ddk例子 没有一个服务被安装上的的 求助
------解决方案--------------------