henrydenhengst

installation of Citrix XenApp 6.5 Part 1

May 6th, 2015
756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <# Unattended Installation of Citrix XenApp 6.5
  2.  
  3. In the previous version the installation was performed with an MSI installation combined with MSIEXEX parameters. Also every component has its own installation steps, so you installed those separately. With this release the setup is invoked by the executable XenAppSetupConsole.exe available in the folder XenApp Server Setup\bin of the installation media.
  4.  
  5. The executable has just a few parameters, which is logically because this first is only the installation of the product, without configuring the initial setup.
  6.  
  7. The parameters available are:
  8.  
  9. /logile:path
  10.  
  11. You can specify the location of the logfile created by the installation. Default is C:\Windows\Temp.
  12.  
  13. /install:items
  14.  
  15. With this parameter you define which components of the XenApp 6.5 will be installed. You can specify the following itemss: EdgeSightServer (installs the EdgeSight server component), Licensing (installs the Citrix License Server), PCMAdmin (installs the Power and Capacity Management Administration Components), SecureGateway (installed the Secure Gateway software), SmartAuditorServer (installs the server component of Smart Auditor), SsonService (installs the Single Sign On server component, formerly known as Password Manager), ReceiverStroreFront (installs the new portal component of Citrix, that will replace Web Interface in the future), WebInterface (installs the Citrix Web Interface component, also requires IIS to be installed), XenApp (installs the XenApp server, to the actually component used for hosting the applications the users access).
  16.  
  17. When supplying the XenApp item by default Citrix AppCenter, Citrix Receiver for Windows, Citrix Offline Plug-in and Windows Desktop Experience Integration features are automatically installed. Some other features are however not installed automatically. These features need to be specified add this /install parameter when needed. Mainly these are agents' components for optional components: EdgeSight agent (specify EdgeSightAgentFeature), Smart Auditor Agent (specify SmartAuditorAgentFeature), Single Sign-ON plug in (SSONAgentFeature), Power and Capacity Management Agent (PCMAgentFeature) en Provisioning Services Target Device (PVDeviceFeature). Also when combining Citrix XenApp with IIS on one server (which I don't recommended)  you need to specify that you would like to enable the available integration within Citrix XenApp with the item XA_IISIntegration. However when the IIS feature is installed already this part will be installed automatically.
  18.  
  19. /exclude:item
  20.  
  21. When choosing the XenApp component several components are installed automatically as just described at the /install parameter. With the /exclude option you can arrange that some of the items are not installed during the installation phase. The following items can be specified at this item: XA_IISIntegration (when IIS is installed on the server and you don't want to install this integration component), XA_Console (don't install the Citrix Management Console) and XenAppEnhancedDesktopExperience (the Windows Desktop Experience Integration will not be enabled).
  22.  
  23. It's correct that you miss the Receiver component at this part, those parts cannot be excluded so will always be installed when specify the XenApp item at /include.
  24.  
  25. /edition
  26.  
  27. With this parameter you specify the edition of XenApp you are using, so you can use here Advanced, Enterprise of Platinum (when nothing is specified Platinum will be used). I expect that this only need to be used when specifying the XenApp item at the /include parameter, but cannot find any documentation about it and I only used the unattended part for installing XenApp.
  28.  
  29. /INSTALLDIR=directory
  30.  
  31. This parameter specifies the destination directory of the component specified at the /include parameter. When not specified the default path c:\Program Files (x86)\Citrix will be used.
  32.  
  33. /ONLINE_PLUGIN_INSTALLDIRECOTRY=directory
  34.  
  35. This install directory parameter can be used when specify the XenApp item at the /include parameter and as a result the Citrix Receiver will be installed automatically. With this parameter you can define where the Citrix Receiver should be installed. When not specified the Receiver will be installed in his standard location (C:\Program Files (x86)\Citrix\ICA Client).
  36.  
  37. Examples
  38.  
  39. Now we have seen all the parameters, it still good to show some examples. How the parameters can be used.
  40.  
  41. Let's start with a real basic one, installing only XenApp Enterprise edition with all default settings including another location for the logfile. #>
  42.  
  43. "<<MEDIALOCATION>>\XenApp Server Setup\bin\XenAppSetupConsole.exe" /install:XenApp /Enterprise /logfile:%systemdrive%\log\xenapp6_install.log
  44.  
  45.  
  46. <# This is an example showing the installation of the Platinum Edition including the EdgeSight Agent and Smart Auditor Agen, but excluding the AppCenter console and the Windows Desktop Integration Experience. #>
  47.  
  48. # "<<MEDIALOCATION>>\XenApp Server Setup\bin\XenAppSetupConsole.exe" /install:XenApp,EdgeSightAgentFeature,SmartAuditorAgentFeatues /exclude:XA_Console,XenAppEnhancedDesktopExperience /Platinum
  49.  
  50. <# Although I did not test it should be possible to installed components via this way when XenApp will not be installed. For example installing Web Interface and Secure Gateway on a separate server. #>
  51.  
  52. # "<<MEDIALOCATION>>\XenApp Server Setup\bin\XenAppSetupConsole.exe" /install:WebInterface,SecureGateway
  53.  
  54. <# This software / sample code is provided to you “AS IS” with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software / sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software / sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software / sample code. In no event should the software / code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE software / SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the software / code belongs to Citrix, any distribution of the code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code. #>
Advertisement
Add Comment
Please, Sign In to add comment