tag:help.appveyor.com,2012-11-13:/discussions/questions/427-how-can-i-use-com0comAppVeyor: Discussion 2018-10-19T08:16:39Ztag:help.appveyor.com,2012-11-13:Comment/339332172014-07-29T05:54:47Z2014-07-29T05:54:47ZHow can I use com0com?<div><p>Restarting build worker VM and getting back to the original
place in the build script would be a great feature. I'll add a new
item to investigate that.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/339332172014-08-08T19:08:48Z2014-08-08T19:08:49ZHow can I use com0com?<div><p>Any idea when this will be implemented?</p></div>Theron Boernertag:help.appveyor.com,2012-11-13:Comment/339332172014-08-08T21:17:50Z2014-08-08T21:17:50ZHow can I use com0com?<div><p>Still don't have an ETA, sorry.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/339332172015-01-16T23:07:49Z2015-01-16T23:07:50ZHow can I use com0com?<div><p>Can we get an ETA now?</p></div>Theron Boernertag:help.appveyor.com,2012-11-13:Comment/339332172018-03-13T17:08:41Z2018-03-13T17:08:43ZHow can I use com0com?<div><p>Is there any update in the meantime?! Or any other way to create a useable virtual com port pair on appveyor?</p></div>Ingo Fischertag:help.appveyor.com,2012-11-13:Comment/339332172018-03-13T18:08:23Z2018-03-13T18:08:23ZHow can I use com0com?<div><p>Restart of build VM discussed in this thread already implemented. If you need to restart VM, you can run the following in PowerShell: <code>sleep 5; restart-computer -f; sleep 5</code>. Sleep is need to ensure all traces from build VM reached central servers (and AppVeyor Web UI)</p>
<p>However I am not sure that it is needed. You can install it with <a href="https://chocolatey.org/packages/com0com">chocolatey package</a> at install stage.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/339332172018-05-05T23:43:59Z2018-05-05T23:44:02ZHow can I use com0com?<div><p>I try use com0com and get problem</p>
<p>in <code>.appveyor.yml</code> I try disable driver signature verification by <code>bcdedit.exe</code><br></p>
<pre>
<code>before_build:
- bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
- bcdedit.exe -set TESTSIGNING ON
- ps: sleep 5
- ps: restart-computer -f
- ps: sleep 5
- choco install com0com
- cd "C:\Program Files (x86)\com0com&quot;
- .\setupc.exe --silent install PortName=COM33 PortName=COM34</code>
</pre>
but it have no result<br>
<pre>
<code>...
[00:00:15] The install of com0com was successful.
[00:00:15] Software installed to 'C:\Program Files (x86)\com0com&#39;
[00:00:15]
[00:00:15] Chocolatey installed 1/1 packages.
[00:00:15] See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[00:00:16] cd "C:\Program Files (x86)\com0com&quot;
[00:00:16] .\setupc.exe --silent install PortName=COM33 PortName=COM34
[00:00:16] CNCA0 PortName=COM33
[00:00:16] CNCB0 PortName=COM34
[00:00:16]
[00:00:16] DIALOG: {
[00:00:16] UpdateDriverForPlugAndPlayDevices("root\com0com", "C:\Program Files (x86)\com0com\com0com.inf", 0x0)
[00:00:16] ERROR: 0xE000022F -
[00:00:16] } ... ERROR
[00:00:16]
[00:00:16] Install not completed!
[00:00:16] Command exited with code 1</code>
</pre>
what I do wrong?</div>Oleg B