Running into this error when attempting to sign my application with SafeNet EV Code Sign
Exit code: 1. Command failed: C:\Users\me\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.6.0\windows-10\x64\signtool.exe sign /t http://timestamp.digicert.com /sha1 MYHEXCODE /s My /d App Name /du https://github.com/Company/AppName /debug C:\Users\me\Documents\company\AppName\dist\App Name-Setup.exe
SignTool Error: The file is being used by another process.
SignTool Error: An error occurred while attempting to sign: C:\Users\me\Documents\company\AppName\dist\App Name-Setup.exe
Since the setup.exe is being created by electron-builder, I'm not sure what other process the file could be used by.
The result was a successful build, everything was double signed expect for the setup.exe, which was only has sha1.
Also running into the same issue occasionally with __uninstaller-nsis-my-app.exe, which causes it to fail entirely, but rerunning it a few times gets rid of the uninstaller-nsis failure.
Running into this error when attempting to sign my application with SafeNet EV Code Sign
Since the setup.exe is being created by electron-builder, I'm not sure what other process the file could be used by. The result was a successful build, everything was double signed expect for the setup.exe, which was only has sha1.
Also running into the same issue occasionally with
__uninstaller-nsis-my-app.exe
, which causes it to fail entirely, but rerunning it a few times gets rid of the uninstaller-nsis failure.