Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Uninstall Lync 2010 client, Install Lync 2013 using Group Policy/VB/MS Customisation Tool

$
0
0

Hi, I am using Group Policy/vb/Lync customization tools to deploy 2013 and remove 2010. The machines have Office 2010. The vb script is as below:

Dim objShell 'As Object
Dim objFSO 'As FileSystemObject

'------------------------------------------------------------------------------'
'-- SET OBJECTS
'------------------------------------------------------------------------------'

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
strComputerName = objShell.ExpandEnvironmentStrings("%COMPUTERNAME%")
Dim WshNetwork : Set WshNetwork = WScript.CreateObject("WScript.Network")


objShell.Run """\\xxxxxxxxx - Do not Remove\Lync Install 2013 2010\Lync 2013 Outlook 2010\setup.exe"""

I have amended the OCT with relevant settings, Lync 2013 installs but Lync 2010 does not uninstall. Here is how i have it set:

In the Office Customization Tool - Set-up - Add Installation and Run Programs,

In target - pointing to the Lync2010 exe file (on above share)

In Arguments - /silent /uninstall

Is this correct?

Also, i would have thought that, Remove Previous Installations, it would have an option to remove Lync2010?

Anyway..pulling my hair out here!

Hope you can help.



Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>