Changes
Do the right thing on Windows Server and use the AppV for RDS client
<source lang="xml">
<package id="appv_client" name="Microsoft App-V 5.0 SP2 Client" revision="%PKG_VERSION%%PKG_VERSION_APPEND%" reboot="false" priority="2">
<variable name="PKG_VERSION" value="5.0_SP2"/>
<variable name="PKG_VERSION_APPEND" value="-2"/>
<variable name="PKG_NAME" value="appv_client_setup.exe" os="7.+(enterprise|ultimate|professional|premium).+6\.1\.\d{4}" />
<variable name="PKG_NAME" value="appv_client_setup.exe" os="windows +8.+6\.[23]\.\d{4}" />
<variable name="PKG_NAME" value="appv_client_setup_rds.exe" os="windows.+server" />
<depends package-id="dotnetfx45" os=".+6\.[0-1]\.\d{4} "/>
<depends package-id="wmf3" os=".+6\.[0-1]\.\d{4}" />
<check type="logical" condition="or"> <check type="uninstall" condition="exists" path="Microsoft Application Virtualization (App-V) Client 5.0 Service Pack 2"/> <check type="uninstall" condition="exists" path="Microsoft Application Virtualization (App-V).*Client.*5.0 Service Pack 2"/> <check type="uninstall" condition="exists" path="Microsoft Application Virtualization (App-V) Client for Remote Desktop Services 5.0 Service Pack 2.*"/> </check>
<!-- Edit this as required in your environment. See
<upgrade include="install"/>
<remove cmd=""%SOFTWARE%\AppV\%PKG_VERSION%\Client\appv_client_setup.exe%PKG_NAME%" /UNINSTALL /q"/>
</package>
</source>