PDA

View Full Version : Check for plugged in device



dtarnacki
09-16-2015, 10:01 AM
Hello. I am working with InstallShield 2015 Pro and I have a Basic MSI project. I am trying to detect whether a specific USB device is plugged in or not. I created a custom interior dialog with prompt to plug in the device and I wanted to enable 'Next' button only when it is done. I need it for another custom action for calling attached .exe (kinda installation for my device).

Is it even possible?

Thanks in advance.

Shashi Shinde
07-13-2016, 08:50 AM
Hello,

I am also trying to detect whether a specific USB device is plugged in or not. I have to compare it with PID & VID of that device.

Prompt reply appreciated.

Thank you.
With regards,
Shashi

Jamesbo
07-20-2016, 11:07 AM
I too, am interested in any solutions for this. (Bump)

PlinyElder
07-20-2016, 01:29 PM
I have not done this before but why not use a Managed Code Custom Action?

Sample here (http://stackoverflow.com/questions/3331043/get-list-of-connected-usb-devices)