Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
March 30, 2010
A. Many times you get two versions of a program, one for 32-bit and one for 64-bit. I had this exact situation with the Data Protection Manager client and wanted to automate deployment through group policy. I therefore created the script below. Just change the actions to meet your needs.
@echo off
echo Detecting OS processor type
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT
echo 32-bit OS
\savdaldpm01ProtectionAgentsRA3.0.7558.0i386DPMAgentInstaller_x86 /q
goto END
:64BIT
echo 64-bit OS
\savdaldpm01ProtectionAgentsRA3.0.7558.0amd64DPMAgentInstaller_x64 /q
:END
"C:Program FilesMicrosoft Data Protection ManagerDPMbinsetdpmserver.exe" -dpmservername savdaldpm01.savilltech.net
You May Also Like