How to KILL newdev.dll

D

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
 
T

Tae Song

din said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top