We've developed the Citrix plug-in to work with Citrix XenApp.

The testing environment:
 - Server: Citrix XenApp 6.5 on Windows 2008 R2
 - Client: Citrix Receiver 4.1 on Windows 7(32&64bit)/Windows XP(32bit)

A. Server:

Publish the application which calling the ftrScanAPI.dll, for example: "ScanAPI_Ex_to_test_on_server\ftrScanApiEx.exe", the 'ftrScanAPI.dll' and 'ftrWSQ.dll' are necessary to be copied to the application folder.


B. Client:

Please follow the below steps to install the Citrix plugin on the Client PC: 

1. Download and install the Citrix Reveiver : http://www.citrix.com/downloads/citrix-receiver/windows.html

2. Copy FtrCitrixPlugin.dll and ftrScanAPI.dll from folder "ftrScanAPI_dlls\x86" to the client folder. 
	By default, this is the %Program Files(x86)%\Citrix\ICA Client for x64, and %Program Files%\Citrix\ICA Client for x32.

3. Add registry settings. 
	a. For 64bit OS: run Step0_x64OS.reg and Step1_x64OS.reg from folder "Registry_settings_on_client\Step2_x64OS"
	b. For 32bit OS: run Step0_x86OS.reg and Step1_x86OS.reg from folder "Registry_settings_on_client\Step2_x86OS"
 
4. Download the Microsoft VC++ runtime from this link: http://www.microsoft.com/en-us/download/details.aspx?id=26347, download the vcredist_x86.EXE and install it on the client PC(both 32 and 64bit).

5. Copy the ftrScanAPI.dll.
	a. For 64bit OS: copy "ftrScanAPI_dlls\x64\ftrScanAPI.dll" to folder "C:\Winodws\System32", copy "ftrScanAPI_dlls\x86\ftrScanAPI.dll" to "C:\Windows\SysWow64\".
	b. For 32bit OS: copy "ftrScanAPI_dlls\x86\ftrScanAPI.dll" to folder "C:\Winodws\System32"

6. Test the application which is published on server.
