I am having trouble installing this on a 64 bit machine running the instlall as the system account. I am using the command Salesforceforoutlook.exe /exenoui /exelang 1033 /qn /norestart. The install works fine on the 32 bit machines.
Scripts used to close Outlook and install/uninstall Salesforce for Outlook unattended without desktop icon via Configuration Manager 2012 SP1.
Install:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("SELECT * FROM Win32_Process WHERE Name = 'Outlook.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
Set objShell = CreateObject("WScript.Shell")
objShell.Run "SalesforceForOutlook.msi ALLUSERS=1 INSTALL_SHORTCUT=False REBOOT=ReallySuppress /qn /l*v %temp%\SalesforceForOutlook.log",0,True
Uninstall:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("SELECT * FROM Win32_Process WHERE Name = 'Outlook.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
Set objShell = CreateObject("WScript.Shell")
objShell.Run "MsiExec.exe /X{D97A761B-27EA-4665-94F2-4EFCA4427728} REBOOT=ReallySuppress /qn /l*v %temp%\SalesforceForOutlook.log",0,True
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.