最近利用InstallShield制作安装包的时候,出现了如下错误,主要原因是InstallShield的版本与最新的Windows安全更新版本不兼容,从而导致错误,解决办法一种是升级InstallShield到最新,另一种是卸载掉最新的Windows安全更新。在我的开发机中最后只好卸载了2015年的全部安全更新,然后编译就通过了。
ISDEV : error -6003: An error occurred streaming ‘<path>\DiskImages\DISK1\<filename>.isc’ into setup.exe.
网上找到的一篇文章,英文原文如下:
Building a setup with InstallShield’s “Stand Alone Build” command line tool may fail with error -6003. The error message looks like this:
ISDEV : error -6003: An error occurred streaming ‘<path>\DiskImages\DISK1\<filename>.isc’ into setup.exe.
It only seems to affect setups that are being digitally signed.
The problem is caused by Windows Update KB3004394 which updates the way Windows checks for revoked root certificates.
According to Flexera Software support it only affects InstallShield version 2012 or older, which all are end of life and no longer supported. Therefore I don’t expect a fix from Flexera (although I don’t have any official information on this).
This leaves you with two potential workarounds: Uninstall the Windows Update, which will make your computer less secure, or don’t let InstallShield digitally sign your setup. Or take the chance and convince your boss to buy a new version of InstallShield.
This problem was reported and the workaround was posted in the InstallSite Forum – thanks guys for sharing your experience.
You can buy InstallShield in the InstallSite Shop at http://www.installsite.biz/installshield.
原文地址:http://blogs.msmvps.com/installsite/blog/2015/02/23/windows-update-breaks-installshield-command-line-build/