Cmd MSI安装程序抛出退出代码3010,无法';我不能修理它。需要帮助

Cmd MSI安装程序抛出退出代码3010,无法';我不能修理它。需要帮助,cmd,wix,installshield,windows-installer,Cmd,Wix,Installshield,Windows Installer,卸载现有msi-成功 安装msi-退出,错误代码3010 mySoftware.exe /s /v" /quiet /qn REBOOT=ReallySuppress ADDLOCAL="mySoftwareConfig" /L*v "%mySoftwareLogFile%" /clone_wait 如何防止msi抛出导致后续代码暂停和退出的错误代码3010 附加了MSI日志摘录 MSI (s) (78:A4) [16:42:14:676]: Product: mySoftwareTest -

卸载现有msi-成功 安装msi-退出,错误代码3010

mySoftware.exe /s /v" /quiet /qn REBOOT=ReallySuppress ADDLOCAL="mySoftwareConfig" /L*v "%mySoftwareLogFile%" /clone_wait
如何防止msi抛出导致后续代码暂停和退出的错误代码3010

附加了MSI日志摘录

MSI (s) (78:A4) [16:42:14:676]: Product: mySoftwareTest -- Configuration completed successfully.

MSI (s) (78:A4) [16:42:14:677]: Windows Installer reconfigured the product. Product Name: mySoftwareTest. Product Version: 4.5 Product Language: 1033. Manufacturer: mySoftwareCompany. Reconfiguration success or error status: 0.

MSI (s) (78:A4) [16:42:14:677]: Value of RebootAction property is 
MSI (s) (78:A4) [16:42:14:677]: Windows Installer requires a system restart. Product Name: mySoftwareTest. Product Version: 4.5. Product Language: 1033. Manufacturer: mySoftwareCompany. Type of System Restart: 2. Reason for Restart: 1.

MSI (s) (78:A4) [16:42:14:677]: Product: mySoftwareTest. Restart required. The installation or update for the product required a restart for all changes to take effect.  The restart was deferred to a later time.

MSI (s) (78:A4) [16:42:14:744]: Deferring clean up of packages/files, if any exist
MSI (s) (78:A4) [16:42:14:744]: MainEngineThread is returning 3010
MSI (s) (78:E8) [16:42:14:801]: RESTART MANAGER: Previously shut down applications have been restarted.
MSI (s) (78:E8) [16:42:14:802]: RESTART MANAGER: Session closed.
MSI (s) (78:E8) [16:42:14:802]: No System Restore sequence number for this installation.
=== Logging stopped: 4/1/2020  16:42:14 ===
MSI (s) (78:E8) [16:42:14:814]: User policy value 'DisableRollback' is 0
MSI (s) (78:E8) [16:42:14:814]: Machine policy value 'DisableRollback' is 0
MSI (s) (78:E8) [16:42:14:814]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (78:E8) [16:42:14:814]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (78:E8) [16:42:14:819]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (78:E8) [16:42:14:819]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (78:E8) [16:42:14:822]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s) (78:E8) [16:42:14:824]: Destroying RemoteAPI object.
MSI (s) (78:DC) [16:42:14:824]: Custom Action Manager thread ending.
MSI (c) (54:CC) [16:42:14:825]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (54:CC) [16:42:14:826]: MainEngineThread is returning 3010
MSI (c) (54:48) [16:42:14:832]: RESTART MANAGER: Previously shut down applications have been restarted.
MSI (c) (54:48) [16:42:14:833]: RESTART MANAGER: Session closed.
=== Verbose logging stopped: 4/1/2020  16:42:14 ===

需要作为一个答案来回答-如果需要的话,将不断发展

首先请检查并报告以下内容:
HKEY\U LOCAL\U MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback

你在虚拟机上测试吗?是否重新启动并重试

它说的是“替换正在使用的文件”,是“延迟的”


所涉及的确切文件应记录在该日志文件中。首先,我要检查它们是否涉及Windows服务和核心运行时。

(向下看)-这通常意味着需要重新启动。找出原因,或者首先检查系统上的事件日志。很可能您的服务没有正确停止,并且计划了挂起的文件重命名操作。测试您的服务的停止和启动方案,看看是否正常。@SteinÅsmul我已经在我的问题中更新了MSI日志。请检查。