win10 安装msi程序异常解决,使用msiexec命令安装

  • 先看异常信息

The installer has encountered an unexpected error instaling this package. This may indicate a problem with this package. The error code is 2503.
The installer has encountered an unexpected error instaling this package. This may indicate a problem with this package. The error code is 2502.

win10 安装msi程序异常解决,使用msiexec命令安装
win10 安装msi程序异常解决,使用msiexec命令安装

  • win10 系统安装msi后缀程序报错如上图,应该是权限不够原因
  • 解决方法使用命令安装
    1. 以管理员身份运行cmd
    2. 使用cd进入msi文件目录
    3. 输入命令msiexec /package node-v10.14.2-x64.msi回车,也可以使用下图所示全路径
    4. 弹出安装页面,下面按提示安装
    5. 验证安装是否成功,使用命令node -v,看到版本号,即安装成功

win10 安装msi程序异常解决,使用msiexec命令安装

win10 安装msi程序异常解决,使用msiexec命令安装