#8 Can't Stop "found new hardware" wizard pop-up on install

John Ludwig

For some unknown reason, on a few machines, when com0com installs the ports the
"Found New Hardware" wizard pops up dispite the fact that the security certificates
appear to be created and installed correctly.

I've created the security certificates and the other appropriate files according to
the instructions. I then install the certificates using the Certifcate Manager:

Certmgr.exe com0com.cer -s -r localMachine root
Certmgr.exe com0com.cer -s -r localMachine trustedPublisher

I've nmanually checked and the certificates are properly registered.

At this point in my install, the certificates are present in the catalogue
I run the com0com "setup.exe":

cmd /c "start /wait setup.exe /S /D=C:\Program Files\support"

At this point
HKLM SYSTEM\CurrentControlSet\Enum\com0com\port\CNCA0
HKLM SYSTEM\CurrentControlSet\Enum\com0com\port\CNCB0

If the install pauses (sleeps) for 90 seconds, everything continues to run silently.
However, If the install does NOT pause (sleep) - then on SOME, not all, machines the
"Found New Hardware" Wizard pops up and waits for user input.
Since this is an unattended (automated remote) install this waiting for user input is unacceptable.

The next steps that SEEM to cause the "Found new Hardware" wizard to pop up are:
cmd /C "start /wait setupc.exe remove 0"
cmd /c "start /wait setupc.exe install portname=com3 portname=com4"

Is there way to check and know if a wait can be done conditionally and not "guess-timate"
a hard-coded sleep time to allow all installs to be silent?


  • 1. Since v. the silent installation (setup.exe /S) will not
    install CNCA0<->CNCB0 port pair. So "setupc.exe remove 0" is
    not needed.

    2. With CVS version of com0com the setupc.exe can be used with option

    --wait <to> - wait <to> seconds for install completion
    (by default <to> is 0 - no wait)

    So try "setupc.exe --wait 90 install portname=com3 portname=com4"

    • status: open --> pending
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

    • status: pending --> closed