Bloomberg Anywhere on Citrix XenApp 2 Comments

Long time I didn't tried to install a Bloomberg component on Citrix XenApp. I know there is not a lot of information and best practices about that on internet, I think it will be a useful blog for everyone looking for information about that. First things first, I wanted to automate the deployment on several XenApp servers so here are the instructions : Unattended Installation Run sotrtxxxx20xx.exe and go in the temp folder to get the "setup.blp" file, you can copy it in the same folder as your Bloomberg installation file is. Here is the content of the setup.blp file : As you can see, you can configure a lot of settings to realize a clean unattended installation, for my installation I just change the directory to Maindir = d:\blp and rename the setup.blp file to archynet.blp. Now you can proceed the installation by creating a batch file with a command line : The /perm extension is mandatory when installing Bloomberg Anywhere on XenApp, without that, I haven't been able to make it work properly. # Command line switch: /perm=<value> # Valid values: default [Permissions set for all user profiles] ie: sotrtMMDDYYYY.exe /s /perm=default #               path/file [Permissions set to all usernames in text file (separated by newline)] #               ie: sotrtMMDDYYYY.exe /s /perm=c:\users.txt The installation might take some time because the installer upgrade the Microsoft Framework .Net and then install Bloomberg Anywhere. Once the silent installation is done, we do need to test it. Tests and issues When I tested Bloomberg everything looked fine except the media and video part, the screen was blinking, flickering a lot and reseting mouse position to the center of the screen until the process was killed. I had the same issue with some of the button with the Bloomberg macro in Excel 2003 : The screen was flickering and blinking until the process bxlaui.exe was killed. These issue were clearly XenApp issue, to make sure I tried only with RDP protocol, and everything was fine without XenApp. Resolution Using this good old KB about Seamless Configuration settings http://support.citrix.com/article/CTX101644 I combine several parameters to obtain the value 0x87116 Registry Key: HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Citrix/wfshell/TWI Value Name: SeamlessFlags Value Type: REG_DWORD Values: 0x87116 87116 is the number obtained by using : DISABLE CLIENT INFO SYNC EXCEPT WORKAREA : Use this flag to configure the server seamless engine to accept the client work area information (size of the desktop excluding the taskbar) but not…

Other automation blogs I posted : XenApp 6 Automation XenDesktop 5 Automation XenApp 4.5 / 5 Automation Today, I needed to prepare the deployment of Citrix PVS servers in silent mode, as usual I'm using a distribution / deployment software like Altiris or SCCM to use the scripts you will read in this blog. The following scripts have been found on the Citrix Community and it was so well done by Kevin Bacon I didn't want and need to build another one from scratch. To deploy the console and the PVS server, we use PowerShell because I needed to add as well a Windows Feature .NET Framework 3.5.1 before begining the Provisioning Services Server deployment. I bring some modification to these scripts to auto install the .Net Framework Feature, add log files for the installation troubleshooting and the PVS console installation. Unattended installation and PVS farm creation This first cmd script is the one to run to start the silent installation : This PowerShell very short script add the Framework 3.5.1 feature and is launch by the PVSinit.cmd launch script. (Thanx to Joe Shonk IV) and this is the big piece and thanks again to Kevin for this work, you will need two tools from the Microsoft Resource Kit ntrights.exe and subinacl.exe. Unattended PVS farm joining Now We know how to install a new Citrix Provisioning Services server and set it up. The next part of this blog is how to automate the addition of PVS Farm members with ConfigWizard.exe (located wiht a default installation in C:\Program Files\Citrix\Provisioning Services\) First you need to go to the directory where ConfigWizard.exe is located on a configured PVS server (The one we just installed for ex) to create a response file ConfigWizard.ans, you can do it by running ConfigWizard.exe /s and follow the next steps : You will find the ConfigWizard.and file in the following directory : "C:\ProgramData\Citrix\Provisioning Services" Here is my ConfigWizard.ans file : Now to use this answer file, we need to deploy a new PVS server, copy the ConfigWizard.ans file onto the new servers within the farm and modify the IP address in the ConfigWizard.ans file to match each server in the PVS farm. Once the file is copied in the same directory as ConfigWizard.exe you just need to run the following command : ConfigWizard.exe /a , reboot your server and you're done ! To automate this last step, you…

If you're looking for automation / unattended installation of Citrix XenApp 4.5 / 5 check here : XenApp 4.5 / 5 unattended installation If you need to industrialize the installation of Citrix XenApp 6, you can follow this blog to create a new farm using command line and add a new XenApp server to an existing farm. On my side, I used the scripts you'll read bellow with a deployment software (Altiris, SCCM etc...) Unattended XenApp 6 farm creation Before begging to install XenApp 6 you need to add one role and one feature to your Windows 2008 R2 server. To do so, you need to use PowerShell since servermanagercmd.exe reach his end of life. Open a PowerShell shell and type Import-Module Servermanager to Load the Server Manager module into the Windows PowerShell session before working with Server Manager cmdlets. Once it's done, you need to type this two command lines to add the .NET Framework 3.5.1 feature and the Remote Desktop Session Host role You will need to reboot the computer before running the Citrix XenApp 6 unattended installation. To run an automated installation you will use the XenAppSetupConsole.exe tool on the DVD in the "XenApp Server Setup\bin" folder. This tool can be use with the following parameters : So, If you want to install XenApp 6 Enterprise Edition and create logs of this installation, just execute the following line where x:\ is either your DVD drive, a mapped drive or a share \\server\share\... The setup done and a reboot is required. The next step you will create a new Citrix XenApp 6 farm. You need to continue this configuration to create a dsn file where you'll include the database name and the database server name. I used for this example a Microsoft SQL2008 SP3 server where I previously created the TEST_XA6 empty database. The file sql.dsn : Save the sql.dsn file as a text file and you can either copy it before launching the configuration either leave it on a share and change the path in the next command line to use the correct path. To realize an unattended farm creation, we will use the XenAppConfigConsole.exe utility (you can find it in C:\Program Files (x86)\Citrix\XenApp\ServerConfig\ ) and here are the parameters you can use : So I want to setup a new farm (XA6_TEST), add the local administrator as XenApp administrator, specify the license server address and port,…

XenApp 4.5 / 5 unattended installation 4 Comments

Unattended installation is very usefull in large XenApp farm, of course if you're deploying one server per two month you might not be interessed by this process automation but this is always interresting to know this kind of tips. Scripts bellow are example I use every day in production to install servers, of course its needs to be change and adapt to your own settings and of course if you have some ideas to share, I take it ! This unattended example assume you have only one network card enable, a local XenApp source installation file and IP address type 192.168.3 / 192.168.10 / 192.168.200 / 10.113 / 10.112. This file allow to join an existing farm named CTX_TEST with a datastore hosted on a SQL server. Finally, you need to create one folder per farm inside your XenApp source folder if you are automating multi farm setup. This is the UnattendedTemplate.txt you can find on your XenApp installation media, this file is very simple to fill and everything is comment and explain. This file example is for the XenApp zone named ZoneA I wanted to comment every option bellow but I think existing comments are very clear and you will understand everything. If you have any question, just ask on the forum. And if you want to go further, you can create one file per zone and use a script to deploy your XenApp server to the right zone while checking the machine IP address. This script needs XenApp installation files locally on your server (c:\Citrix\XenApp5). This unatended installation generate a verbose log file on c:\XENAPPCTX_PROD.log , don't under estimate this part, it can be very usefull to troubleshoot your silent installation. One last thing before you go, don't forget to use a valid MF20.dsn :