Rex75
21st January 2010 12:01 UTC
How do I get informations about a burned in ID from an USB device?
Hello,
How do I get informations about a burned in ID from an USB device?
I got an usb device here with an specific ID-Code on a Chip burned in. I want that the installation routine stops, when the ID is not correct.
Is that possible? And when yes, how do I make this?
I don't need a step by step howto. Thanks.
jpderuiter
21st January 2010 14:08 UTC
It depends on whether the USB chip does expose this ID.
If you can read it in for example the Windows Device Manager, you should be able to read it with WMI (there are examples of WMI in NSIS, though it's not really easy...).
Rex75
21st January 2010 23:28 UTC
Thanks, WMI and NSIS, maybe it's a way. But I got an other idea, I will write a Code in C++ or C#, a simple exe comand file with a return code.