gpt4 book ai didi

windows - MSI 安装程序错误 - MSIExec 失败 : 1603

转载 作者:行者123 更新时间:2023-12-03 11:10:45 26 4
gpt4 key购买 nike

我正在尝试在服务器上安装 Windows 服务,当以管理员身份运行命令行并导航到我的 InstalUtil.cmd 文件并运行它时,我收到错误消息“msiexec 失败:1603”,但是 该服务确实已安装并按预期完美运行。修复错误消息的任何想法/建议?

最佳答案

需要重新启动吗?:这可能是一个简单的“需要重新启动的问题”1603 在批处理文件中可能表示“需要重启”。

  • 您是否以管理员权限运行批处理文件?
  • 此 MSI 是否有任何自定义操作?如果是这样,它们位于 InstallExecuteSequence 中的什么位置?
  • There are other possibilities (从 WayBack Machine 复活)。为将来在此处内联主要部分:

From link above: The following is a non-exhaustive list of known causes for this error:

  • Short file name creation is disabled on the target machine.
  • An Install Script custom action is prototyped incorrectly.
  • A file is locked and cannot be overwritten.
  • The Microsoft Windows Installer Service is not installed correctly.
  • The Windows Temp folders are full.
  • The setup was corrupted after installation and, therefore, fails with this error during un-installation.
  • An older version of Install Shield Developer is being used.
  • A general error occurred during the installation.
  • Print and File sharing is not installed or enabled when installing MSDE 2000.

Proposed solutions in linked document above: 1) Make sure short file name creation is enabled on the target machine, 2) Make sure Windows Installer is properly installed, 3) Empty all temporary folders, 4) Close all running applications and utilities, and launch the installation again - especially antivirus tools, and 5) a couple more options.

您需要收集更多信息 - 这会导致检查日志:

标准调试:

  • 事件日志:事件日志说了什么? (Windows + 点击 R。键入 eventvwr 并按 OK)。检查不同的日志。

  • MSI 日志文件:您是否创建了 MSI 日志文件?

  • 可能存在自动创建策略生效的策略。 checkin TMP 文件夹,按日期排序并检查最近的文件中是否有任何 *.log 文件

  • 如果批处理文件对 MSI 日志文件的位置进行了硬编码,则还要检查该批处理文件。

如果您找到 MSI 日志文件,请尝试搜索 "value 3"(不带引号)以查找任何失败的操作。


如何创建 MSI 日志文件:

关于windows - MSI 安装程序错误 - MSIExec 失败 : 1603,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50944210/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com