Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgraded from LCS 2005 - GPO to uninstall/install client

Status
Not open for further replies.

hunterdw

Technical User
Oct 25, 2002
345
0
0
US
Hi there--

We recently upgraded from LCS 2005 to OCS 2007 R2.

We have about 300 users spread across a dozen locations in 6 states - all in the US right now.

I've re-homed all my users to OCS - and I've adjusted my SRV records.

All is well.

However, now I want to handle the new client deployment. I need to know how to "en masse" uninstall OC 2005, and install OC 2007 R2.

Any GPOs out there? I've looked and my google-fu hasn't turned up anything to handle both the "old" uninstall and the "new" install for me.

--DW
 
Here's an update... I created the following .vbs script, and then call it as a "logon/startup script" ina Computer-based GPO

---
Option Explicit
Dim theShell, strComputer, objWMIService, colProcessList, objProcess

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colProcessList = objWMIService.ExecQuery _
("SELECT * FROM Win32_Process WHERE Name = 'Communicator.exe'")

For Each objProcess in colProcessList

objProcess.Terminate()

Next

Set theShell = WScript.CreateObject("WScript.Shell")
theShell.Run "msiexec.exe /i \\path.to.foo\Communicator2007R2.msi /qn"
Set theShell = Nothing

WScript.Quit(0)
---

For me, basically what this does, is parse through all the running processes looking for "Communicator.exe" - and if it finds it - terminate it.

Then, run the MSI for OC 2007 R2... using the /i switch will actually uninstall the older versions before installing the newest version.

Anyway, it works for me, so I thought I'd update my thread.

--DW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top