electron / windows-installer

Build Windows Installers for Electron apps
MIT License
1.57k stars 263 forks source link

How to sign Stub and Update.exe ? #494

Closed guldil closed 11 months ago

guldil commented 11 months ago

Hello,

I use electron-winstaller to create a setup for and electron app. I have an EV Code Signing from Digicert with USB Token. I can sign Visual Studio 2022 App, i can sign manually with signtool.

After the npx electron-packager i can sign my app.exe in dist directory. After electron-winstaller step i can sign the setup.exe in installer directory

But after installation i have two "not signed" executable on my Windows in AppData : Update.exe and then little app_stub.exe

After some research I found signWithParams so i put my signtool options in, i have more files signed in In AppData \ app-Version (exe and dll) but the Update.exe and little app_stub.exe still unsigned.

Do you know how to sign these files too ?

Thanks

Guldil

guldil commented 11 months ago

Ok sorry for the wrong issue, Update.exe and then little app_stub.exe are signed, it was a version problem, squirrel download another version in background... I create a new version est and all is right :)