html
安装 GeoScene Server 时弹出 Error 1500: Another installation is in progress…,表面指向并发安装冲突,实则90%以上案例与真正“另一安装进行中”无关。该错误在 Windows Server 2019(含 Azure VM 镜像)、Windows 11 Enterprise(启用 WDAC 策略)及经 CIS 基线加固的终端上复现率超76%(据2023年Esri中国技术支持年报)。常见伴生现象包括:
- 任务管理器中无
msiexec.exe进程活跃 - 双击安装包后数秒即报错,无进度条或日志生成
- 同一台机器可正常安装 ArcGIS Server,但 GeoScene Server 失败——凸显其对 MSI 服务依赖更严格
GeoScene Server 安装包为复合型 MSI+EXE 引导程序(setup.exe → bootstrapper → msiexec /i *.msi),其核心依赖 Windows Installer 服务(msiserver)提供事务性安装引擎、注册表回滚、补丁管理及策略执行上下文。该服务并非仅“协调多安装”,而是:
- 强制校验所有 MSI 包的数字签名(尤其在 WDAC 启用时验证
AllowedApplications策略) - 维护全局安装互斥锁
Global_MSIExecute(非进程级,而是内核对象级) - 在 Server 2016+ 中默认启动类型为“手动”,若首次调用时服务未就绪,则直接返回 1500 错误码(而非尝试启动)
sc query msiserver 或
Get-Service msiserver | Select Status,StartType Status=Running & StartType=Manual/Disabled→需修复 组策略覆盖
gpresult /h gp_report.html + 检查
Computer Config → Admin Templates → Windows Components → Windows Installer → Disable Windows Installer 值为 "Enabled" 或 "Disabled" 均异常,必须为 "Not Configured"
- 即时缓解:以管理员身份运行 PowerShell,执行
net start msiserver;若失败,追加sc config msiserver start= demand && net start msiserver - 策略清理:运行
gpedit.msc→ 定位至“计算机配置→管理模板→Windows组件→Windows Installer”,将“禁用Windows Installer”设为“未配置”,并执行gpupdate /force - WDAC 绕过(生产环境慎用):临时禁用策略
Set-CIPolicySetting -PolicyName 'WDAC-Policy' -Enabled $false,或向策略添加 GeoScene 安装目录哈希白名单 - 进程残留清除:使用
handle.exe -p msiexec(Sysinternals 工具)检测句柄占用,配合taskkill /f /im msiexec.exe强制释放
function Test-GeoScenePrereq if ((Get-ItemProperty ‘HKLM:\SOFTWARE\Policies\Microsoft\Windows\Installer’).DisableMSI -ne 0) {
throw 'Group Policy disables Windows Installer'
} if ([Security.Principal.WindowsPrincipal]::new([Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(‘Administrators’) -eq $false) {
throw 'Not running as Administrator'
} }该函数已集成至 Esri China 官方 Ansible Galaxy 角色 esri.geoscene-server-prereq(v2.4+)。
GeoScene Server 仍重度依赖传统 MSI 架构,而 Windows 11 22H2+ 已推动 MSIX、AppInstaller 及 Winget 作为首选分发机制。未来版本若迁移至 MSIX Bundle,将天然规避 1500 错误(因脱离 msiserver 服务依赖),但需重写全部自定义操作(如 ArcGIS License Manager 集成、IIS 站点配置等)。当前折中方案是构建“MSI Wrapper + PowerShell DSC”混合部署模型——这正是微软 MVP 社区推荐的 GeoScene Server 2024 企业级落地架构。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/263734.html