electron-builder 卸载失败 NSIS Error installer integrity check h

2022-08-24 19:39  1624人阅读  评论 (0)
Tags: electron

electron-builder 卸载失败

electron-builder 打包 windows 一键安装包, 卸载时 CRC 效验失败, 导致卸载失败.

NSIS Error

installer integrity check has failed. Common causes include incomplete download and damaged media. Contact the installer's author to obtain a new copy.

More information at:

http://nsis.sf.net/NSIS_Error

解决办法

找到 node_modules/app-builder-lib/templates/nsis/common.nsh 文件, 添加一行 CRCCheck off 配置

重新打包即可解决问题.

豫ICP备09035262号-1