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
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?