|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Feb 2006
Posts: 3
|
How can I detect whether the device is plugged in or not when installing a driver?
I'm a newbie at all, anyone could help me? Thanks in advance.
I'm developing a PNP driver installer using the NSIS, it needs to disconnect the device from the PC before installing the driver, and when the driver installed, a notify page will be displayed asking to connect the device and then the device will be recognised, after that install other commercial softwares. It means that the device is something of a hardware softdog. The question is, by using the NSIS script, how can I detect whether the device is plugged in or not before or after the installation of the driver? Assumeing the GUID is "{4d36e978-e325-11ce-bfc1-08002be10318}", HwID is "USB\VID_92DF$PID_23BB", INF is "test.inf", InfPath is "$INSTDIR\TestApp". Thank You Best Regards. Last edited by run2u; 17th February 2006 at 05:43. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Feb 2006
Posts: 3
|
Anyone can help me? Or I will lose my job next month.
Thank you! |
|
|
|
|
|
#3 |
|
Major Dude
|
sry, no idea
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#4 |
|
Member
Join Date: Aug 2005
Location: Australia
Posts: 71
|
|
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Feb 2006
Posts: 3
|
Quote:
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|