ConfigInstall 操作失败的根本原因是什么?

What are the root causes for failure of ConfigInstall action?

我在 InstallShield 中创建了一个 MSI 安装程序。当我尝试在 Windows 2003 服务器上安装此安装程序时,出现以下错误:

Action start 5:04:40: ConfigInstall.
MSI (c) (F0:6C) [05:04:40:579]: Invoking remote custom action. DLL:
C:\DOCUME~1\AD2738~1\LOCALS~1\Temp\MSI3.tmp,
Entrypoint: _ConfigInstall@4
MSI (c) (F0:F8) [05:04:40:595]: Cloaking enabled.
MSI (c) (F0:F8) [05:04:40:595]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (F0:F8) [05:04:40:595]: Connected to service for CA interface.
Action ended 5:04:40: ConfigInstall. Return value 3.

所以当我搜索这个return代码3时,我才知道这是一个失败的Action。但是我没有得到ConfigInstall失败的原因。 ConfigInstall 失败的原因我搜索了很多。但我什么也没找到。

所以谁能告诉我这个动作失败的主要原因是什么ConfigInstall

我在一些快速搜索中没有找到任何内容,这些行表明这是一个自定义操作,由您(或您的团队)或第三方提供:

MSI (c) (F0:6C) [05:04:40:579]: Invoking remote custom action. DLL:
C:\DOCUME~1\AD2738~1\LOCALS~1\Temp\MSI3.tmp,
Entrypoint: _ConfigInstall@4

如果你有源代码,你可以考虑添加日志记录甚至调试。如果没有,您仍然可以尝试使用 Dependency Walker 等工具来验证 DLL 的依赖项在 Windows 2003 Server 上是否可用。 (如果他们不这样做,您将不得不想办法让他们到达那里,可能是通过静态链接他们,可能是通过安装他们并在足够晚的时候执行 CA 以使其存在。)

请注意,Microsoft 不再支持 2003,因此现在可能是您自己停止支持的好时机。