I'm working on a small app in C# that we're including in one of our products, but have a little issue that I'm hoping someone might be able to help with.
Manufacturing, in all their wisdom, decided to use two different types of USB hubs in our product, and we have no way of knowing if a customer has one or the other. We're issuing a software dvd to upgrade the computer system, and in it will be my app that detects what USB hub they have, and then launches an MSI file that installs proper drivers for USB-> serial adapters, and reassigns com ports to what they should be. The problem is, is that the New Hardware wizard is running before my app (currently have it set to run using the RunOnce section of the registry) and it pops up the screen asking for the drivers for the usb-serial convertors.
is there a different section that we can put a call to my program so that it runs before windows detects the unknown usb to serial convertors?
Question
SirEvan
I'm working on a small app in C# that we're including in one of our products, but have a little issue that I'm hoping someone might be able to help with.
Manufacturing, in all their wisdom, decided to use two different types of USB hubs in our product, and we have no way of knowing if a customer has one or the other. We're issuing a software dvd to upgrade the computer system, and in it will be my app that detects what USB hub they have, and then launches an MSI file that installs proper drivers for USB-> serial adapters, and reassigns com ports to what they should be. The problem is, is that the New Hardware wizard is running before my app (currently have it set to run using the RunOnce section of the registry) and it pops up the screen asking for the drivers for the usb-serial convertors.
is there a different section that we can put a call to my program so that it runs before windows detects the unknown usb to serial convertors?
RunOnce is running it too late.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts