Discussion:
How to KILL newdev.dll
(too old to reply)
din
2009-06-12 23:07:32 UTC
Permalink
Hi

I would like to distribute my own device based on a uart to USB
converter.
I must create an installation disk.
I am facing a problem when installing the drivers for CP2102 (UART to
USB bridge).
When I connect the device, the 'Found new Hardware Wizard' pops up. I
insert the
installation driver the preinstall application (DPInst.exe) hang while
'searching for
device'. At this point, I must close manualy the 'Found new hardware
Wizard' by
clicking the cancel button.

Does anyone know an api/dll call that forces the new hardware dialogue
to close.
I can invoke that method before the DPInst application is called.

Looking in the running processes, I found out a 'rundll32 newdev.dll'
entry.
I must kill that process in order to make my installation disk
complete the operation.

Any automatic tip?

Thanks a lot

din
Tae Song
2009-06-14 21:55:55 UTC
Permalink
Post by din
Hi
I would like to distribute my own device based on a uart to USB
converter.
I must create an installation disk.
I am facing a problem when installing the drivers for CP2102 (UART to
USB bridge).
When I connect the device, the 'Found new Hardware Wizard' pops up. I
insert the
installation driver the preinstall application (DPInst.exe) hang while
'searching for
device'. At this point, I must close manualy the 'Found new hardware
Wizard' by
clicking the cancel button.
Does anyone know an api/dll call that forces the new hardware dialogue
to close.
I can invoke that method before the DPInst application is called.
Looking in the running processes, I found out a 'rundll32 newdev.dll'
entry.
I must kill that process in order to make my installation disk
complete the operation.
Any automatic tip?
Thanks a lot
din
It's common to have the user install the drivers before connecting the USB
device to the computer. That way the Found new hardware wizard can run
without any fuss.

Loading...