admin管理员组

文章数量:1531724

缘起

帮客户安装ArcGIS,报错Error: Error 1935: An error occurred during the installation of assembly,然后查资料说让卸载 framework,发现 framework安装的有问题,卸载4.8版本的 framework时一直报错无法访问Windows Installer服务,记录一下重新安装net framework的过程。

参考资料

  1. 无法访问windows installer服务怎么办
  2. 解决“无法访问Windows Installer服务”的艰辛历程
  3. 修复无法访问Windows Installer服务的错误Windows 10上的错误
  4. 无法访问 Windows Installer 服务。如果没有正确安装 Windows Installer,可能会出现此问题”
  5. Windows:解决卸载软件“请等待当前程序完成卸载或更改”
  6. Windows Installer清除工具
  7. Error: Error 1935: An error occurred during the installation of assembly

解决方案

看了n个帖子,然后按照步骤试了好多遍,不知道为什么 framework为什么一直卸载不了

  1. 查看自己的系统时32位还是64位(我的计算机右键属性查看)

  2. 以管理员权限运行cmd

    //32为系统
    cd C:\Windows\System32
    msiexec.exe /unreg
    msiexec.exe /regserver
    //64位系统
    cd C:\Windows\SysWOW64
    msiexec.exe /unreg
    msiexec.exe /regserver
    //注册dll(64位系统为例,如果是32位系统进入到C:\Windows\System32目录执行注册命令)
    cd C:\Windows\SysWOW64
    regsvr32 msi.dll
    
  3. Windows+R打开运行窗口,输入services.msc打开服务管理窗口

  4. 找到Windows Installer,设置为手动启动或者自动启动,点击启动

  5. 打开cmd窗口,运行sfc /scannow命令

  6. 重启机器

  7. 下载 Windows Installer清除工具,找到 framework4.8,然后点击删除。

  8. 打开卸载和安装程序,发现 framework4.8还在,过段点击修复,重新下载安装后没有提示无法访问Windows Installer服务

  9. 重新安装arcgis软件,一切正常

本文标签: 报错ErrorArcGISInstallationassembly