提取MSI时出现错误2203 [英] Error 2203 while extracting msi

查看:333
本文介绍了提取MSI时出现错误2203的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用以下命令提取msi时出现2203错误.

msiexec/a"C:\ Test \ Installer.msi"/QB targetDIR ="C:\ Test \ Eval"/LV *"C:\ Test \ INST_Logfile.log"

在回答时,请考虑以下几点:

  • 已登录的用户和SYSTEM帐户具有对
    的完全访问权限 %TEMP%,C:\ Windows \ Installer.

  • msi未标记为ReadOnly.

  • 已检查Windows安装程序服务,并且工作正常.

  • 尝试注销并注册msiexec

           MSIEXEC /UNREGISTER
           MSIEXEC /REGSERVER
    

  • 重新启动系统

以下是在日志中捕获的错误:

MSI (s) (88:A4) [14:09:27:551]: Executing op: DatabaseCopy(DatabasePath=C:\Test\Installer.msi,,CabinetStreams=cab1.cab,AdminDestFolder=C:\Test\,) MSI (s) (88:A4) [14:09:27:551]: Note: 1: 2203 2: C:\Test\Installer.msi 3: -2147287008 DEBUG: Error 2203: Database: C:\Test\Installer.msi. Cannot open database file. System error -2147287008 MSI (s) (88:A4) [14:09:34:634]: Product: Installer -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. The arguments are: C:\Test\Installer.msi, -2147287008,

解决方案

TrendMicro防病毒已安装在计算机上,并且阻止了msi提取.因此,一旦关闭趋势科技杀毒软件,安装程序就会成功运行.

谢谢大家的回答

I am getting 2203 error while extracting msi with following command.

msiexec /a "C:\Test\Installer.msi" /QB targetDIR="C:\Test\Eval" /LV* "C:\Test\INST_Logfile.log"

Please consider following points while answering:

  • Logged-in user and SYSTEM account has full access on
    %TEMP%,C:\Windows\Installer.

  • msi is not marked as ReadOnly.

  • Checked Windows installer service and it is working fine.

  • Tried unregister and register msiexec

           MSIEXEC /UNREGISTER
           MSIEXEC /REGSERVER
    

  • Restarted system

Below is error captured in log:

MSI (s) (88:A4) [14:09:27:551]: Executing op: DatabaseCopy(DatabasePath=C:\Test\Installer.msi,,CabinetStreams=cab1.cab,AdminDestFolder=C:\Test\,) MSI (s) (88:A4) [14:09:27:551]: Note: 1: 2203 2: C:\Test\Installer.msi 3: -2147287008 DEBUG: Error 2203: Database: C:\Test\Installer.msi. Cannot open database file. System error -2147287008 MSI (s) (88:A4) [14:09:34:634]: Product: Installer -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. The arguments are: C:\Test\Installer.msi, -2147287008,

解决方案

TrendMicro antivirus was installed on machine and it was preventing msi extraction. So once TrendMicro anti-virus was turned off installer ran successfully.

Thank you all for your answers

这篇关于提取MSI时出现错误2203的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆