因为项目需要,2014年写过的一个老项目需要重新打包。开发电脑换了,原来开发的系统是win7,现在已经升到了win10。而且原来使用installshield limited 2013开发的打包项目已经不能正常打开,重新下载了installshield limited 2015,终于打开了原来的打包项目。可是就在“重新生成”项目时又出现了错误,报6003错误,双击该错误,打开了官网的一些文档,看了一遍说是使用的签名方法有变,又说需要导入证书之类的一头雾水。
错误提示如下:
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindows Installer3.1x86WindowsInstaller-KB893803-v2-x86.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindowsImagingComponentx86wic_x86_enu.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindows Installer3.1x86WindowsServer2003-KB898715-x86-enu.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindowsImagingComponentx64wic_x64_enu.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindows Installer3.1ia64WindowsServer2003-KB898715-ia64-enu.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindows Installer3.1x64WindowsServer2003-KB898715-x64-enu.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesWindows Installer3.1x64WindowsXP-KB898715-x64-enu.exe' into setup.exe
ISEXP : error -6003: An error occurred streaming 'C:Program Files (x86)InstallShield2015LESetupPrerequisitesMicrosoft .net4.0FulldotNetFx40_Full_x86_x64.exe' into setup.exe
Building .cab files...
Data1.cab built
Files built
Media table successfully built
Setup.exe created
Automatic update notification disabled
ExpressSingleImage - 8 error(s), 3 warning(s)
后来,百度到了一个StackOverFlow的帖子,通过该帖子回忆起来原来做该项目的时候,依赖的项目有一些是从网上下载的。
解决方法是:打开Redistributables,找到有InstallShield Prerequistite Nees to be downloaded的项目,右键,选择Download all required items...或Download selected item...