Office 2010 SP のサイレント インストール用に、GPO を介して適用されるログオフ vbs スクリプトを作成しました。スクリプトの主要部分では、次のコマンドを実行します。
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 ファイルの適切な構成によって変更されています。
インストールは、警告イベント 1530 が先行するエラー 1719 Windows インストーラー サービスにアクセスできませんでした。
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 つの異なるホストでスクリプトを試しましたが、常に同じエラーが発生します。ログオン時に同じスクリプトを使用しようとしましたが、うまくいきました。コマンドを手動で実行すると、機能します。
ログオフ時にスクリプトが機能しない理由がわかりましたか? 提案する回避策はありますか?