Wednesday, August 12, 2009

Manually creating an ICA file for Xenapp 5

Bit of proper stone-age technology here! I had a need to create an ICA file to launch a Citrix app for use with EdgeSight for Load Testing (just kick off one app, in a seamless window, including authentication, without using a Web Interface server) and found no easy way of doing it.

Searching on Google comes up with two possibilies for making an ICA file. One is to use the management tools (which haven't been able to do this for about 6 years) and the other is to open your web interface, right click on one of the apps, and save the target. It'll save as *.ICA, sure; but is about 4 times longer than it needs to be and goes through the web interface, funnily enough.

So, time for Notepad! ICA files are just text files with a different extension, so start a new file in Notepad (or Notepad++ in my case) and copy what is below (which is an example to open Word 2007). Tested as working on Xenapp 5 and Presentation Server 4.0. In this case I'm saving a plain text password, which might not be ideal for you. Hopefully the fields to change will be obvious!

[WFClient]
Version=2
TcpBrowserAddress=servername.domainname.local
[ApplicationServers]
Word 2007=192.168.1.1
[Word 2007]
Address=Word 2007
TransportDriver=TCP/IP
InitialProgram=#Word 2007
WinStationDriver=ICA 3.0
Username=username
Domain=DOMAINNAME
ClearPassword=password
DesiredColor=8
DesiredHRES=1024
DesiredVRES=768
AutoLogonAllowed=On

UPDATE 9 November 2009

You do all this research, find out how something works and then find Cirtix released a free tool to do the same time 2 years ago. Typical.

http://support.citrix.com/article/CTX113472

2 comments:

  1. But it will not works on XenApp 6, need a bit change:

    [ApplicationServers]
    Word 2007=
    [Word 2007]
    Address=192.168.1.1

    ReplyDelete