Reply to Thread

Post a reply to the thread: How to detect available Com Ports on setup computer?

Your Message

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

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-02-2011, 07:38 AM
    linder

    Re: How to detect available Com Ports on setup computer?

    You are very welcome

    Friedrich
  • 03-02-2011, 06:48 AM
    Traxs

    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
  • 03-02-2011, 06:30 AM
    linder

    Re: How to detect available Com Ports on setup computer?

    BTW, I have attached a quick and dirty demo for you.

    Friedrich
  • 03-02-2011, 06:26 AM
    linder

    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
  • 03-02-2011, 06:11 AM
    Unregistered

    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
  • 03-02-2011, 04:53 AM
    linder

    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
  • 03-02-2011, 02:14 AM
    Traxs

    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

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •