VMware View Client

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

If you like to deploy VMware View Client, you can use the package description underneath.

<?xml version="1.0" encoding="UTF-8"?>

<packages:packages
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.wpkg.org/packages ../../xsd/packages.xsd" >

  <package id="vmwareview" 
  name="VMWare View client" 
  revision="%PKG_VERSION%-20120607" 
  priority="10" 
  reboot="false">
  
  <variable name="PKG_VERSION" value="5.0" />
  <variable name="PKG_EXE_VERSION" value="5.0.0.7378" />
  <variable name="PKG_SOURCE"  value="%SOFTWARE%\VMWareView\%PKG_VERSION%\VMware-viewclient.exe" architecture='x86' />
  <variable name="PKG_SOURCE"  value="%SOFTWARE%\VMWareView\%PKG_VERSION%\VMware-viewclient-x86_64.exe" architecture='x64' />
  <variable name="PKG_DESTINATION"    value="C:\Tools\VDM" />
  
  <check type="logical" condition="or">
        <check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\bin\wswc.exe" value="%PKG_EXE_VERSION%" />
  </check>
  
  <install cmd='"%PKG_SOURCE%" /S /V /qn DESKTOP_SHORTCUT=0 VDM_SERVER=yourvmwareviewserver.com INSTALLDIR="%PKG_DESTINATION%" RDPCHOICE=0 REBOOT=Reallysuppress' >
    <exit code="3010"/>
  </install>
  
  <upgrade include="install" /> 
  
  <remove cmd='msiexec /qn /x{D5A1DA10-4A73-49A3-9C8A-C8CE9797DBBE}' />
  <remove cmd='%ComSpec% /C if exist "%PKG_DESTINATION%" rmdir /S /Q "%PKG_DESTINATION%"' />
  
</package>
</packages:packages>