Citrix Web Interface: don’t detect the ICA client

In some cases, okay rare cases, you don’t want to display an error message in the welcome screen of the Web Interface website stating an ICA client has not been detected, or the correct version has not been found.

If you want to  disable the error message, but leave the Message Centre intact it’s possible to do the following:

On the Web Interface server go to: .InetpubwwwrootCitrixWebInterfaceSiteNameapp_dataauthserverscripts and open the file clientdetect.aspxf.

Add the bold text, at the location as seen in the presented example:

private bool getIcaClientAvailable() {

string icaClientAvailable = (string) getUserEnvAdaptor().getClientSessionState().get(COOKIE_ICA_CLIENT_AVAILABLE);
return true;
    return equalsIgnoreCase(VAL_TRUE, icaClientAvailable);

}

private bool getIcaClientUpToDate() {

string icaClientVersion = (string) getUserEnvAdaptor().getClientSessionState().get(COOKIE_ICA_CLIENT_VERSION);

if (icaClientVersion != null) {

IcaWebClient icaWebClient = getClientDeploymentConfiguration().getICAWebClientConfig();
return icaWebClient.isUpToDateClient(icaClientVersion);

} else {

return true;

}
}

private bool getRadeClientAvailable() {

string radeClientAvailable = (string) getUserEnvAdaptor().getClientSessionState().get(COOKIE_RADE_CLIENT_AVAILABLE);
    return true;
return equalsIgnoreCase(VAL_TRUE, radeClientAvailable);

}

Daniel Nikolic

Is interested in everything connected to technology. Has a passion for cloud, virtualization and software development. Always finds appropriate IT solutions for customers that match their needs strategically, technically and financially.


Core qualities

Quick thinker, result driven, ambitious, customer-friendly, enthusiastic

Hobbies
Running, listening to music, good food and doing fun things with family

Job description
CTO PepperByte, LoadGen, and BlueParq