Archive: Problem while installing the driver using NSIS


Problem while installing the driver using NSIS
Hi all,

I want to install my functional driver using NSIS on Win2000.The driver installs error free.but when the device is connected the device does not come up in the Device Manager. When i install the same inf using "EzDrvInstaller"(Tool that comes with Softice) it works. Is there any changes to be made to my inf to work with NSIS.

Rgds
VCR


Did you try using the InstDrv plugin?

-Stu


While using InstDrv the installation i get the same problem as in the thread http://forums.winamp.com/showthread.php?postid=1597553

DeleteOemInfFiles: 00000103
CreateDevice: E0000205
Output folder: C:\Docume~1\test\LOCALS~1\Temp
Extract: test.inf... 100%
Extract: dummy.sys... 100%
InstallDriver: E000020B
CountDevices:0
Completed

The Installation is complete but the device appears as unknown with the exclamation mark.
how to solve this

Rgds
Venu


Did you try the download posted on that page:
http://home.arcor.de/_aero/drvinst.zip

-Stu


Hi ,

No luck with drvinst.

StrCpy $0 "drvinst.inf"
StrCpy $1 0
StrCpy $2 0
Strcpy $3 0
Strcpy $4 0
Strcpy $5 0x0000001
Strcpy $6 0
Strcpy $7 0
Strcpy $9 0
System::Call 'setupapi::SetupInstallFile(i,i,t,t,t,l,l,l) i(r1,r2,r0,r3,r4,r5,r6,r7).r9'

Now iam using SetupInstallFile and getting error during installation. are the parameters passed to the function correct??

Rgds
Harish