Windows 10 update isn't working due to new version is not signed by the application owner
See original GitHub issue- Version: 20.27.1
NSIS
- Target: NSIS
Hello! Recently, people who use my application on Windows 10 have their auto update stopped working, for a couple of days I could not figure out what could be the problem until the update logs had an error that there was no signature certificate. There are no problems with updating on windows 7 and there were no problems with windows 10 until this couple of days.
Build conf:
"gh-publish": "yarn electron-builder --ia32 --win -p always && node_modules/.bin/build"
"build": { "publish": [ { "provider": "github", "owner": "mttv", "repo": "mttv-app" } ], "win": { "target": [ "nsis" ], "icon": "build/icon.ico", "publisherName": "webifua" }, "nsis": { "oneClick": false, "perMachine": true, "allowElevation": true, "allowToChangeInstallationDirectory": true, "deleteAppDataOnUninstall": true, "createDesktopShortcut": true, "installerIcon": "build/icon.ico", "uninstallerIcon": "build/icon.ico", "uninstallDisplayName": "Uninstall MTTV" }, "productName": "MTTV", "appId": "com.mttv.app", "extends": null, "electronVersion": "3.0.0", "buildVersion": "0.2.7", "copyright": "webifua 2019", "files": [ "build/**/*", "electron/**/*" ] }
Log: [2019-02-25 21:51:59.464] [info] App starting… [2019-02-25 21:52:05.544] [info] Checking for update [2019-02-25 21:52:05.616] [info] Checking for update… [2019-02-25 21:52:05.769] [info] Generated new staging user ID: a488db7d-724c-53fa-9c43-b811a945aa9f [2019-02-25 21:52:07.857] [info] Found version 0.2.7 (url: mttv-setup-0.2.7.exe) [2019-02-25 21:52:10.886] [info] Downloading update from mttv-setup-0.2.7.exe [2019-02-25 21:52:10.915] [info] No cached update info available [2019-02-25 21:52:10.919] [info] Download block maps (old: “https://github.com/mttv/mttv-app/releases/download/v0.2.5/mttv-setup-0.2.5.exe.blockmap”, new: https://github.com/mttv/mttv-app/releases/download/v0.2.7/mttv-setup-0.2.7.exe.blockmap) [2019-02-25 21:52:11.881] [info] File has 1493 changed blocks [2019-02-25 21:52:11.886] [info] Full: 62,513.36 KB, To download: 30,412.29 KB (49%) [2019-02-25 21:52:11.893] [info] Differential download: https://github.com/mttv/mttv-app/releases/download/v0.2.7/mttv-setup-0.2.7.exe [2019-02-25 21:52:12.109] [info] Redirect to https://github-production-release-asset-2e65be.s3.amazonaws.com/168543775/f86c9080-3942-11e9-9b2f-242515d08d36 [2019-02-25 22:16:52.989] [info] App starting… [2019-02-25 22:16:57.638] [info] Checking for update [2019-02-25 22:16:57.716] [info] Checking for update… [2019-02-25 22:17:00.451] [info] Found version 0.2.7 (url: mttv-setup-0.2.7.exe) [2019-02-25 22:17:02.723] [info] Downloading update from mttv-setup-0.2.7.exe [2019-02-25 22:17:02.752] [info] No cached update info available [2019-02-25 22:17:02.758] [info] Download block maps (old: “https://github.com/mttv/mttv-app/releases/download/v0.2.5/mttv-setup-0.2.5.exe.blockmap”, new: https://github.com/mttv/mttv-app/releases/download/v0.2.7/mttv-setup-0.2.7.exe.blockmap) [2019-02-25 22:17:03.725] [info] File has 1493 changed blocks [2019-02-25 22:17:03.730] [info] Full: 62,513.36 KB, To download: 30,412.29 KB (49%) [2019-02-25 22:17:03.754] [info] Differential download: https://github.com/mttv/mttv-app/releases/download/v0.2.7/mttv-setup-0.2.7.exe [2019-02-25 22:17:03.971] [info] Redirect to https://github-production-release-asset-2e65be.s3.amazonaws.com/168543775/f86c9080-3942-11e9-9b2f-242515d08d36 [2019-02-25 22:17:41.781] [warn] Sign verification failed, installer signed with incorrect certificate: publisherNames: webifua, raw info: { “SignerCertificate”: null, “TimeStamperCertificate”: null, “Status”: 2, “StatusMessage”: “The file C:\Users\Admin\AppData\Local\mttv-updater\pending\temp-mttv-setup-0.2.7.exe is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170” } [2019-02-25 22:17:41.801] [error] Error: Error: New version 0.2.7 is not signed by the application owner: publisherNames: webifua, raw info: { “SignerCertificate”: null, “TimeStamperCertificate”: null, “Status”: 2, “StatusMessage”: “The file C:\Users\Admin\AppData\Local\mttv-updater\pending\temp-mttv-setup-0.2.7.exe is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170” } at newError (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\builder-util-runtime\src\index.ts:29:17) at Object.<anonymous> (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:42:17) From previous event: at Object.task (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:31:11) at C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:610:25 at Generator.next (<anonymous>) at runCallback (timers.js:696:18) at tryOnImmediate (timers.js:667:5) at processImmediate (timers.js:649:5) From previous event: at NsisUpdater.executeDownload (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:545:68) at NsisUpdater.executeDownload (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\BaseUpdater.ts:27:18) at NsisUpdater.doDownloadUpdate (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:27:17) at NsisUpdater.downloadUpdate (C:\Program Files (x86)\MTTV\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:420:19) at BrowserWindow.appUpdateWin.on (C:\Program Files (x86)\MTTV\resources\app.asar\electron\main.js:600:25) at BrowserWindow.emit (events.js:182:13) [2019-02-25 22:17:41.802] [info] Error in auto-updater. Error: New version 0.2.7 is not signed by the application owner: publisherNames: webifua, raw info: { “SignerCertificate”: null, “TimeStamperCertificate”: null, “Status”: 2, “StatusMessage”: “The file C:\Users\Admin\AppData\Local\mttv-updater\pending\temp-mttv-setup-0.2.7.exe is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170” }
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top GitHub Comments
indeed i’ve stopped relying on it myself aswell most of the time it just goes 0%…100% 👎
@meekaah Not quite, but I managed to solve auto-update problem with
"verifyUpdateCodeSignature": false
, but download progress is still very buggy it sometimes works and sometimes it doesnt.