|
Hi All!
I am developing a project to install a driver for USB with InnoSetup. Now I had copied all files needed to the appropriate directories such as system32\drivers, system32\ etc. And I had write the appropriate registry keys to register the driver. But after installed, when the device was plugged in, the system say it can't find .sys file and .dll file. I must locate them by myself, although they had been copied successfully. I don't know how to fix it. Is there someone be kind to help me? Thx!
Best Regards!
There is some white cloud floating on the blue sky. That's the landscape I like.
|
|
|
|
|
Well, obviously, you did NOT copy all the required files to the appropriate places, otherwise you wouldn't have this problem.
Did you create an .INF file and put it in it's appropriate place?? Just putting .DLL and .SYS files into those folders does absolutely nothing because there is nothing telling Windows which files match up with that device.
|
|
|
|
|
You need to use the various win 32 funcs such as SetupcopyOEMInf() and so on to actually do an install. The system needs to 'compile' the inf, to create a pnf file, whilch you will find in various places depending on OS, and the syste, takes care of copying the files, setting the registry and so on for you.
==============================
Nothing to say.
|
|
|
|
|
I am not sure but may be this driver is not supported with your operating system...
|
|
|
|
|
Nah, its a USB driver, and this has been supported in the kernel since win2k, and the kernel has hardly changed since then (ad hasnt changed much since NT 3.5). Its an install issue.
==============================
Nothing to say.
|
|
|
|
|