tag:help.appveyor.com,2012-11-13:/discussions/problems/27727-issue-with-concurrent-process-for-the-generated-fileAppVeyor: Discussion 2020-07-14T11:01:18Ztag:help.appveyor.com,2012-11-13:Comment/484609842020-07-13T18:27:19Z2020-07-13T18:27:22ZIssue with concurrent process for the generated file<div><p>Adding inno setup script</p></div>laurent.bernabetag:help.appveyor.com,2012-11-13:Comment/484609842020-07-13T18:39:58Z2020-07-13T18:39:58ZIssue with concurrent process for the generated file<div><p>It's unclear from the build log <em>which</em> file exactly is locked.</p>
<p>Anyway, your best course to fix that is to <a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">login via RDP</a> to build VM and using sysinternals tools see who is locking that file. Hope that helps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/484609842020-07-13T18:50:03Z2020-07-13T18:50:03ZIssue with concurrent process for the generated file<div><p>Thank you, I'm going to check the build steps with it.<br>
Is there a documentation page about the available sysinternals tools ?</p>
<p>Regards</p></div>laurent.bernabetag:help.appveyor.com,2012-11-13:Comment/484609842020-07-13T20:17:11Z2020-07-13T20:17:11ZIssue with concurrent process for the generated file<div><p>I've managed to connect by RDP to the VM, but I don't know which tool from the machine can help me see which process is locking the executable file.</p></div>laurent.bernabetag:help.appveyor.com,2012-11-13:Comment/484609842020-07-13T22:30:38Z2020-07-13T22:30:38ZIssue with concurrent process for the generated file<div><p>You can download Process Explorer while in RDP: <a href="https://helpcenter.gsx.com/hc/en-us/articles/115015880627-How-to-Identify-which-Windows-Process-is-Locking-a-File-or-Folder">https://helpcenter.gsx.com/hc/en-us/articles/115015880627-How-to-Id...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/484609842020-07-14T07:49:24Z2020-07-14T07:49:24ZIssue with concurrent process for the generated file<div><p>Thank you. I'm gonna try with it.</p></div>laurent.bernabetag:help.appveyor.com,2012-11-13:Comment/484609842020-07-14T08:47:47Z2020-07-14T08:49:23ZIssue with concurrent process for the generated file<div><p>I've downloaded the Process Explorer on the VM, but I did not have the time to search for the locking process. Because the system is halted as soon as Inno Setup build is started (line "iscc windows_build.iss" of the appveyor_v2.yml).</p>
<p>And so I've lost the connection though I tried to block the RDP a second time. (See appveyor_v2.yml)</p></div>laurent.bernabetag:help.appveyor.com,2012-11-13:Comment/484609842020-07-14T11:00:19Z2020-07-14T11:00:56ZIssue with concurrent process for the generated file<div><p>Finally solved the issue : I needed to change directory when creating the setup file with InnoSetup (See before_deploy section).</p>
<p>I've joined the final script</p></div>laurent.bernabe