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

版权声明:本文为博主原创文章,欢迎转载,转载请注明作者、原文超链接。 https://blog.csdn.net/axing2015/article/details/85283075
  • 先看异常信息

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

在这里插入图片描述

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/axing2015/article/details/85283075