Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st January 2010, 11:01   #1
Rex75
Junior Member
 
Join Date: Jan 2010
Posts: 2
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.
Rex75 is offline   Reply With Quote
Old 21st January 2010, 13:08   #2
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 672
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...).
jpderuiter is offline   Reply With Quote
Old 21st January 2010, 22:28   #3
Rex75
Junior Member
 
Join Date: Jan 2010
Posts: 2
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.
Rex75 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump