How to Configure Auto Launch for a Single Published Application on Web Interface 5.x

Objective

This article describes how to configure Auto Launch for a single published application on Web Interface 5.x.
Note: This feature does not work if Receiver is installed without administrator rights. Auto Launch requires the wfica.ocx file. It is not installed except for administrators. Install Receiver by a user account which has administrator rights.

Background

By default, Citrix Web Interface 5.x Auto Launch feature only works for a single published desktop (through either XenApp, XenDesktop, or both). By modifying the code, you can allow a single published application to be auto launched when users log on.

Requirements

  • Citrix Web Interface 5.1.x or later

  • Citrix XenApp 4.5 or later

  • Publish a single application for user(s)

  • Workstation with Internet Explorer, Firefox browser, or both

Note: The Auto Launch feature on Web Interface 5.x disables Workspace Control functionality. Apply this procedure only for an environment that does not require Workspace Control. For this article, Citrix Web Interface 5.3, Citrix XenApp 4.5 with Hotfix Rollup Pack 6 and Internet Explorer 8.0 were used.

Instructions

From Web Interface 5.x:

  1. Open AppList.java file available at the following path:

\inetpub\wwwroot\Citrix\<site-Name>\app_code\PagesJava\com\citrix\wi\pages\site\

  1. Search at line #55 for the following entry:

import com.citrix.wing.webpn.DesktopInfo;

  1. Replace that line with the following:

import com.citrix.wing.webpn.ApplicationInfo;


User-added image


  1. Go to line #771 for the following entry:

if ((singlePublishedItem != null) && (singlePublishedItem instanceof DesktopInfo))

  1. Replace that line with the following line:

if ((singlePublishedItem != null) && (singlePublishedItem instanceof ApplicationInfo))

User-added image

  1. Save the file.

  2. Go to the following folder:

WebInterface.conf file under \inetpub\wwwroot\Citrix\<site-Name>\conf

  1. Search at line# 44 for the following entry:

# AutoLaunchDesktop=Off

  1. Replace that line with the following line:

AutoLaunchDesktop=On


User-added image


  1. Save the file.

  2. Run IISRESET and test.

From the Client Workstation:

  1. Add the Web Interface site as a Trusted Sites on Internet Explorer browser. For Firefox users, you need not do anything.

  2. When testing, the following result is expected:

    User-added image


     


Additional Resources

Citrix Documentation - Web Interface Parameters

Applicable Products

  • Web Interface 5.4

  • Web Interface 5.3


转自:

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

你可能感兴趣的:(default,account,article,describes,published)