使用install shield 2010 打包程序时,报这样的错误:
error -5008: intel64 or amd64 must be specified in the template of the summary上网查了下,在http://community.flexerasoftware.com/showthread.php?197139-error-5008-intel64-or-amd64-must-be-specified-in-the-template-of-the-summary
这里找到答案:
This issue is because one of your component in the project is marked as a 64-bit component.
So in this case, you need to set the template of the Summary Stream with a platform of Intel64 or x64,
so your built setup will support 64-bit architecture.
To do this follow below steps:
1) Go to "General Information" view.
2) Go to the "Summary Information Stream" section.
3) In "Template Summary" property, set the platform to Intel64 or x64.
(If the original value is : Intel;1033 then change it to x64;1033)
意思大概是工程里有64bit的组件,因此需要指定平台架构。
按照方法改了之后没有错误了,但是在安装包在32bit的机器上安装时会提示机器的处理器类型与安装包的不符合。试了下不修改上述的install shield的配置生成的安装包也是可以安装的。