Created
February 10, 2010 16:18
-
-
Save thattommyhall/300487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: USES UNICA from http://www.gourami.eu/products/unica | |
:: and filever from the supportkit | |
@echo off | |
:: | |
set version= | |
if not exist "C:\Program Files\Citrix\ICA Client\pnagent.exe" goto install | |
:checkversion | |
for /f "Tokens=5" %%a in ('\\dc01-nacifs-01\cifs\XenAppClient11.2\filever.exe "C:\Program Files\Citrix\ICA Client\pnagent.exe"') do set version=%%a | |
::echo %version% | |
if %version% == 11.2.0.31560 goto :end | |
:install | |
regedit /s \\dc01-nacifs-01\cifs\XenAppClient11.2\pnagent.reg | |
\\dc01-nacifs-01\cifs\XenAppClient11.2\unica.exe \\dc01-nacifs-01\cifs\XenAppClient11.2\CitrixOnlinePluginFull.exe, "Replacing Citrix Client-You may be prompted to remove files-Please click next or ok if so-Call IS if you are unsure or something goes wrong",\\dc01-nacifs-01\cifs\XenAppClient11.2\logs | |
regedit /s \\dc01-nacifs-01\cifs\XenAppClient11.2\pnagent.reg | |
:end | |
set version= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment