Post a reply to the thread: How to detect available Com Ports on setup computer?
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: How to detect available Com Ports on setup computer? You are very welcome Friedrich
Re: How to detect available Com Ports on setup computer?
Re: How to detect available Com Ports on setup computer? Hi Just fantastic..! It is simple and just perfect for what I am trying to do... Thanks. Regards Wolfgang
Re: How to detect available Com Ports on setup computer? BTW, I have attached a quick and dirty demo for you. Friedrich
Re: How to detect available Com Ports on setup computer? Hi Wolfgang, Perhaps it is already enough to enumerate the values under HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM in your setup? You can use the "Get Registry" functionality to handle this and read the COM values. Does this help? Friedrich
Re: How to detect available Com Ports on setup computer? Hi Was wondering, is there a way in SetupBuilder to get what type of devices is installed. As the Windows Devices in the Control Panels give you a list of Com Ports availabe. Can SetupBuilder check for this? Wolfgang
Re: How to detect available Com Ports on setup computer? Wolfgang, How would you do it without SetupBuilder? Once you know how to do this, we can then try to convert this to SetupScript. Or if you have a DLL available that can handle it (e.g. open source), you can call this DLL from your installer. Friedrich
How to detect available Com Ports on setup computer? Hi Guys I have checked this forum and also the docs but it seems no where is an example for detecting the good old fashion (Serial) Com Ports on a computer in SetupBuilder. Has anyone done this? If so, could you give me a example of how you did the detection of the Com Ports. It would be nice also to be able to show which ones are in use and which not not in use (ie. available), if possible. Thanks. Have a great day. Regards Wolfgang
How to detect available Com Ports on setup computer?
Forum Rules