版权声明: 可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息。
在InstallShield 2011 Basic MSI工程类型中,通过Custom Action调用托管代码,并且选择“Installed with the project" 或 "Path referencing a property"时,在安装包运行过程中会导致安装包失败回滚,但如果选择“Stored in Binary table”则不会存在问题。
此问题已经解决,Q210406: HOTFIX: During Installation, Execution of Managed Code Custom Action Fails
将目标机上ISWIBuild.dll备份,之后附件public_IOA-000057879.zip解压后的文件替换,具体路径: <ISProductFolder>\System
当然,上述问题还可以通过修改为执行来源为“Stored in Binary table”进行规避。