1

我创建了一个通过 GPO 强制执行的注销 vbs 脚本,用于静默安装 office 2010 SP。脚本的主要部分运行以下命令:

SetupCommand = ShareDir & "\x86\setup.exe /config " & ShareDir & "\x86\ProPlus.WW\config.xml"
ReturnValue = oShell.run(SetupCommand, 1, True)

安装文件位于网络共享上(权限:所有人都可以完全控制)。安装exe已通过office 2010定制工具和ProPlus.WW\config.xml文件的正确配置进行了修改。

安装似乎可以正常工作,直到安装更新时返回错误 1719 Windows Installer 服务无法访问,前面是警告事件 1530:

Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
DETAIL - 
2 user registry handles leaked from \Registry\User\S-1-5-21-682003330-507921405-725345543-4463:
Process 2760 (\Device\HarddiskVolume2\Windows\System32\msiexec.exe) has opened key \REGISTRY\USER\S-1-5-21-682003330-507921405-725345543-4463
Process 2760 (\Device\HarddiskVolume2\Windows\System32\msiexec.exe) has opened key \REGISTRY\USER\S-1-5-21-682003330-507921405-725345543-4463\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

我已经在 5 个不同的主机上尝试了该脚本,但总是遇到同样的错误。我曾尝试在登录时使用相同的脚本并且它有效。如果我手动运行该命令,它可以工作。

您知道为什么脚本在注销时不起作用吗?你有什么解决方法可以建议吗?

4

1 回答 1

0

我启用了 msi 日志,我正在检查它,它非常冗长,但我多次发现以下错误:

调试:错误 2746:转换 90001B0410000014.0.4763.1000 对于包 C:\Windows\Installer\bc70a.msi 无效。预期产品 {90140000-001B-0410-0000-0000000FF1CE},找到产品 {90140000-0015-0410-0000-0000000FF1CE}。

你知道这意味着什么吗?我应该分享整个日志吗?

于 2015-01-22T06:57:39.093 回答