【发布时间】:2022-01-31 16:24:07
【问题描述】:
我尝试使用 MSI 安装程序为我们的 2016 Windows 64 位服务器安装 Strawberry perl 版本 5.32.1.1。
msiexec.exe /i "C:\StrawberryPerl\strawberry-perl-5.32.1.1-64bit.msi" /L*V C:\StrawberryPerl\Strawberry-Perl.log"
安装程序打开了安装向导,但安装失败并出现以下错误。
MSI (c) (78:00) [18:29:52:718]: Windows Installer installed the product. Product Name: Strawberry Perl (64-bit). Product Version: 5.32.1001. Product Language: 1033. Manufacturer: strawberryperl.com project. Installation success or error status: 1603.
发现 MSI 1603 错误可能是由于,
Cause
You may receive this error message if any one of the following conditions is true:
Windows Installer is attempting to install an app that is already installed on your PC.
The folder that you are trying to install the Windows Installer package to is encrypted.
The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.
就我而言,我已经在服务器上安装了 Active Perl。请告知这是否是安装问题的根本原因。
Value 3 from Log:
MSI (c) (78:00) [18:28:33:113]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (78:00) [18:28:33:113]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'.
Action ended 18:28:33: ExecuteAction. Return value 3.
MSI (c) (78:00) [18:28:33:113]: Doing action: FatalError
Action 18:28:33: FatalError.
Action start 18:28:33: FatalError.
Action 18:28:33: FatalError. Dialog created
Action ended 18:29:51: FatalError. Return value 2.
Action ended 18:29:51: INSTALL. Return value 3.
MSI (c) (78:00) [18:29:51:312]: Destroying RemoteAPI object.
MSI (c) (78:E4) [18:29:51:328]: Custom Action Manager thread ending.
Property(C): UpgradeCode = {DBA41113-4E91-3FFC-B400-573BB4B80705}
Property(C): WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1
附加日志:
Property(C): WIXUI_INSTALLDIR_VALID = 1
=== Logging stopped: 1/28/2022 18:29:52 ===
MSI (c) (78:00) [18:29:52:718]: Note: 1: 1708
MSI (c) (78:00) [18:29:52:718]: Product: Strawberry Perl (64-bit) -- Installation failed.
MSI (c) (78:00) [18:29:52:718]: Windows Installer installed the product. Product Name: Strawberry Perl (64-bit). Product Version: 5.32.1001. Product Language: 1033. Manufacturer: strawberryperl.com project. Installation success or error status: 1603.
MSI (c) (78:00) [18:29:52:734]: Grabbed execution mutex.
MSI (c) (78:00) [18:29:52:734]: Cleaning up uninstalled install packages, if any exist
MSI (c) (78:00) [18:29:52:750]: MainEngineThread is returning 1603
=== Verbose logging stopped: 1/28/2022 18:29:53 ===
问候...
【问题讨论】:
-
Hakon,这是一个错字..我现在已经更正了
-
过滤了吗?它似乎被过滤掉了
-
@ikegami,你指的是 Value 3 Log 还是 msiexec 命令?
-
您提供的日志文件行
-
作为替代方案:Strawberry Perl 始终发布可移植版本 (zip)。解压,添加到 PATH(警告:避免与 ActiveState 的潜在冲突)
标签: perl windows-installer strawberry-perl