https://bugs.winehq.org/show_bug.cgi?id=57645
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- (In reply to Louis Lenders from comment #6)
I tested this query "SELECT Caption, Service FROM Win32_PnpEntity WHERE Caption LIKE '%(COM%'" on windows and one entry showed up (something like 'Intel device .... (COM3)' The reported classguid was {4d36e978-e325-11ce-bfc1-08002be10318} (ports) but this doesn't even show up when I run this query in wine.
If you run the program like 'WINEDLLOVERRIDES=wbemprox=d wine LokProgrammer.exe' the list of serial ports is back (as like Hans said another codepath is chosen) Not sure what to do now.
It probably expects at least one entry. I'm looking into adding support for this but it will not be code freeze material.