![]() "%COMMONPROGRAMFILES(x86)%\microsoft shared\OFFICE15\Office Setup Controller\setup.exe" /uninstall LYNCENTRY /dll OSETUP.DLL /config "%COMMONPROGRAMFILES(x86)%\microsoft shared\OFFICE15\Office Setup Controller\uninstall_lync.xml" I've tried two methods.Ĭopy "%~DP0uninstall_lync.xml" "%COMMONPROGRAMFILES(x86)%\microsoft shared\OFFICE15\Office Setup Controller\uninstall_lync.xml" I still cant uninstall and i still don't understand why :). Write-Host "-"ĮCHO "$(Get-Date -Format G) Lync 2013 Pro was successfully removed" > "$aLogFilePath\LyncRemoved.tag" $oSetup = (Start-Process -FilePath " ""$Office15\setup.exe"" " -ArgumentList " /modify ""ProPlus"" /CONFIG ""$aTemp\SETUP.XML"" " -PassThru -Wait -NoNewWindow) ![]() ![]() Write-Host "* Attempting Lync 2013 Pro Uninstall." Else 32bit Os will have standard Program Files. #If 圆4 operating system, set Program files (x86) folder for 32bit office. $Global:aLogFilePath = $aCwd $SP_FileName "\" $Global:aLogName = $aFileName "_" $(Get-Date -Uformat %Y%m%d%H%M%S) ".log" $Global:aCwd = Split-Path -parent $aScriptPathName $Global:aFileName = ::GetFilenameWithoutExtension($aScriptPathName) $Global:aScriptPathName = $MyInvocation.M圜ommand.Path Review the SETUP.EXE usage and its companion SETUP.XML file for the answers in this PowerShell script of mine.
0 Comments
Leave a Reply. |