Old 28th June 2007, 12:21   #1
anttip
Junior Member
 
Join Date: Jun 2007
Posts: 2
Driver installation

Hi,
I need to install a virtual network adapter. I checked the existing example that uses newdev::UpdateDriverForPlugAndPlayDevices and setupapi::SetupCopyOEMInf, but I don't know if these can be used for this case.

The driver consists of .inf and .sys files. I tried to point the example driver installation script to the .inf file and set the HardwareId to dni_dnemp, which is what regedit shows as hardware id (in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\DNI_DNEMP) if I manually install the driver. The test failed with error codes (XP:0,2) and #2 (XP).

I haven't done anything with drivers before, so I might be on completely wrong tracks here, but for me the newdev::InstallSelectedDriver sounded like a better match. Too bad I've got no idea how I could try it out. It is described for example at http://msdn2.microsoft.com/en-us/library//aa906293.aspx .

Any ideas?
anttip is offline   Reply With Quote
Old 28th June 2007, 14:10   #2
anttip
Junior Member
 
Join Date: Jun 2007
Posts: 2
I tried InstDrv plugin. Got an error E0000203 (which other people have encountered too, no solution seems to be available). Additionally, now I have an unknown device that can't be uninstalled :)

Found some comments about DPInst, and tried to check that out, but the Microsoft pages aren't too informative. Seems that it's a part of WDK driver kit, but found only download links to some Vista beta versions of that. Additionally, it sounds like it's some kit for VisualStudio, which is not what I'm after.
anttip is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump