Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sha256 Error on Installer #8184

Open
Yackob234 opened this issue Apr 25, 2024 · 0 comments
Open

Sha256 Error on Installer #8184

Yackob234 opened this issue Apr 25, 2024 · 0 comments

Comments

@Yackob234
Copy link

Yackob234 commented Apr 25, 2024

  • Electron-Builder Version: 24.13.3
  • Node Version: 18.18.0
  • Electron Version: 26.6.5
  • Electron Type (current, beta, nightly): current
  • Target: Windows

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant