Resolvemos problemas semelhantes com um programa diferente - descobrimos que um * .bat combinado com uma Tarefa Planejada Designada por um GPO era mais preciso / eficaz em todas as versões do Windows / SO. Existem muitos itens "[exemplo] a serem editados, por isso não deixe de digitalizá-los.
Este script permite: 1. verificando o SO 2. verificar se o programa já está instalado 3. Desinstalando se já instalado e limpando configs 4. Instalando * .exe com as configurações desejadas 5. Criando logs centralizados
Qualquer um desses recursos pode ser "REM" se não desejado.
Por favor, veja abaixo:
Rem This is to install a program using a batch file - this can be triggered by a GPO scheduled task item.
Rem -------------------Variables to Adjust----------------------
Rem
Rem 1. Location of exe and batch file source -
Rem a. Everyone has full or r/w access to (possibly a SHARE)
Rem b. Has no spaces in path
Rem
set DeployDirectory=\[IP\Client\Windows\Office2010\]
REm
Rem 2. Location of logs
Rem
set logshare=\[IP\Client\Windows\Office2010\logs]
Rem
Rem 3. Change commands to go with *.exe if needed.
Rem
set CommandLineOptions=["/config '"Config.xml'" /adminfile '"custom.MSP'"" -Wait -NoNewWindow]
Rem
Rem
Rem --------------------------------------------------------------
IF EXIST "%PROGRAMFILES(X86)%" (GOTO 64BIT) ELSE (GOTO 32BIT)
:64BIT
wmic product where name="[name of program when viewing "programs and features]" call uninstall
wmic product where name="[name of program when viewing "programs and features]" call uninstall
REG DELETE HKLM\SOFTWARE\[name of program in regedit] /F
echo deployment x64 %ComputerName%
"%DeployDirectory%\[Nameoffilex64.exe]" %commandlineoptions%
if %errorlevel% neq 0 (GOTO ERRORED) ELSE (GOTO Complete)
:32BIT
wmic product where name="[name of program when viewing "programs and features]" call uninstall
wmic product where name="[name of program when viewing "programs and features]" call uninstall
REG DELETE HKLM\SOFTWARE\[name of program in regedit] /F
echo deployment x32 %Computername%
"%DeployDirectory%\[Nameoffilex86.exe]" %commandlineoptions%
if %errorlevel% neq 0 (GOTO ERRORED) ELSE (GOTO Complete)
:Complete
echo %date% %time% the %0 script has completed successfully >> %logshare%\%ComputerName%.log
Rem pause
GoTo END
:Errored
echo %date% %time% Deployment ended with error code %errorlevel%. >> %logshare%\%ComputerName%.log
Rem pause
GoTo END
:End
echo GoodBye
Rem pause
Please let me know if this resolves the issue.