Skip to content
⌘ NSIS Forum Archive

Problem while installing the driver using NSIS

5 posts

Venu#

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
Venu#
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
Venu#
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