'ManageEngine Desktop Central 'Script to install Adobe Acrobat XI pro '====================================================== Set WshShell = WScript.CreateObject("WScript.Shell") regkey = "HKEY_LOCAL_MACHINE\SOFTWARE\AdventNet\DesktopCentral\DCAgent" agentDir = WshShell.RegRead(regkey & "\DCAgentInstallDir") 'WScript.Echo agentDir location = agentDir&"bin\7za.exe" 'WScript.Echo location 'Extraction of the Adobe Acrobat XI Pro.zip returnValue =WshShell.Run(Chr(34)& location &Chr(34)& " x -y "&chr(34)&WScript.Arguments.Item(0)&chr(34),0,TRUE) 'Once the extraction is sucess , install the pre-requisite and msi in the specific order '============================================================================== if returnValue <> 0 Then Wscript.Quit returnValue else WshShell.CurrentDirectory = ".\Adobe Acrobat XI Pro\Adobe Acrobat XI" returnValue=WshShell.Run("setup.exe /sALL /rs /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES", 0, TRUE) end if Wscript.Quit returnValue