Enterprise Cloud Computing and Bigdata

Cloud,Bigdata,Datamining,Cassandra,Hadoop, App-V, XenApp, Virtualization Discussions from I.T Professionals

Group policy script to install App-V Terminal Server Client

This is a small .bat file to configure in Computer Configuration -> Windows Settings -> Startup Scripts. One must modify the location of the %SOURCE% variable to reflect where your installation media is.

This is for 32-bit Terminal Server nodes. Replace the 32_BIT with 64_BIT and copy your App-V installation files off of your Microsoft Desktop Optimisation Pack 2010 media or download them from: –

[1] Visual C++ 2005 x86 here

[2] Visual C++ 2008 x86 here

[3] Microsoft Application Error Reporting (installation media) Support\Watson\dw20shared.msi

[4] XML Services 6 x86 here

— BEGIN install_appv_client.bat below —
@ECHO OFF
REM Microsoft Visual C++ 2005 Redistributable Package (x86)
SET SOURCE=\\some.server.com\softwaredistribution\AppV_Client_Install_Point\32_BIT\PREREQUISITE\visual_c_runtime\2005
START /WAIT %SOURCE%\vcredist_x86.EXE /Q /T:%TEMP%\VC2005x86

REM Microsoft Visual C++ 2008 Redistributable Package (x86)
SET SOURCE=\\some.server.com\softwaredistribution\AppV_Client_Install_Point\32_BIT\PREREQUISITE\visual_c_runtime\2008
START /WAIT %SOURCE%\vcredist_x86.EXE /Q

REM Microsoft Application Error Reporting
SET SOURCE=\\some.server.com\softwaredistribution\AppV_Client_Install_Point\32_BIT\PREREQUISITE\dr_watson
START /WAIT MSIEXEC /I %SOURCE%\dw20shared.msi APPGUID={9915D911-CC73-4122-AF4F-564F89454655} REBOOT=Suppress REINSTALL=ALL REINSTALLMODE=vomus

REM Microsoft Core XML Services 6.0
SET SOURCE=\\some.server.com\softwaredistribution\AppV_Client_Install_Point\32_BIT\PREREQUISITE\msxml60
START /WAIT MSIEXEC /I %SOURCE%\msxml6.msi REBOOT=SUPRESS /QB

REM App-V Install options FOR TERMINAL SERVERS
SET SOURCE=\\some.server.com\softwaredistribution\AppV_Client_Install_Point\32_BIT\TERMINAL_SERVERS

REM install App-V client using RTSP to the management server
REM Change your SWIPUBSVRDISPLAY to a friendly name
REM Change your SWIPUBSVRHOST to the DNS name of your App-V management server
“\\some.server.com\softwaredistribution\AppV_Client_Install_Point\32_BIT\TERMINAL_SERVERS\setup.exe” /s /v”/qn SWIPUBSVRDISPLAY=\”RGU Streaming Server APPVMGT01 RTSP\” SWIPUBSVRTYPE=\”RTSP\” SWIPUBSVRHOST=\”APPVMGT01.some.server.com\” SWIPUBSVRPORT=\”554\” SWIPUBSVRPATH=\”/\” SWIPUBSVRREFRESH=\”on\” SWIFSDRIVE=\”Q\””

Leave a comment