Fail to launch .ica files – workaround

Using the v12.0 or 12.1 Citrix Online Plugin on Server 2003 running XenApp 5 I have had a problem where users cannot launch .ica files. When an ICA file is double-clicked, a Windows Installer box pops up for a split second and that’s it. PNAgent functionality works fine however.

I used the following command line to install the v12.0:

CitrixOnlinePluginFull.exe /silent SERVER_LOCATION=http://xenappservices.rcmtech.co.uk

and this to install the v12.1:

CitrixOnlinePluginFull.exe /silent ADDLOCAL="ICA_Client,PN_Agent,SSON"
SERVER_LOCATION=http://xenappservices.rcmtech.co.uk ENABLE_SSON="Yes"
ENABLE_DYNAMIC_CLIENT_NAME="Yes" ENABLE_KERBEROS="No"

Got the same issue with both.

Each time an ICA file is double-clicked the following is logged in the Application event log:

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Description: Detection of product ‘{023D64D7-E7B4-47C7-BE6E-B7C2E8960D08}’, feature ‘WEB_CLIENT’, component ‘{E8461812-6034-11DE-825A-1E8356D89593}’ failed.  The resource ‘HKEY_CLASSES_ROOT\Applications\wfica32.exe\IsHostApp’ does not exist.

Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Description: Detection of product ‘{023D64D7-E7B4-47C7-BE6E-B7C2E8960D08}’, feature ‘WEB_CLIENT’ failed during request for component ‘{1762F5BA-3F32-4A41-90CB-83C447BE6ED2}’

Event Type: Information
Event Source: MsiInstaller
Event Category: None
Description: Beginning a Windows Installer transaction: {023D64D7-E7B4-47C7-BE6E-B7C2E8960D08}. Client Process Id: 19680.

Event Type: Information
Event Source: MsiInstaller
Event Category: None
Description: Product: Citrix online plug-in (Web) — Configuration failed.

Event Type: Information
Event Source: MsiInstaller
Event Category: None
Event ID: 1035
Description: Windows Installer reconfigured the product. Product Name: Citrix online plug-in (Web). Product Version: 12.0.0.6410. Product Language: 1033. Reconfiguration success or error status: 1640.

Event Type: Information
Event Source: MsiInstaller Event
Category: None
Event ID: 1042
User:  NT AUTHORITY\SYSTEM
Description: Ending a Windows Installer transaction: {023D64D7-E7B4-47C7-BE6E-B7C2E8960D08}. Client Process Id: 19680.

This is mentioned in the Citrix Forums, but without a solution.

Check the .ica file association using the good old assoc and ftype commands. The outputs from these commands show the following information:

C:\>assoc .ica
.ica=Citrix.ICAClient.2.7
C:\>ftype Citrix.ICAClient.2.7
Citrix.ICAClient.2.7="C:\Program Files\Citrix\ICA Client\wfcrun32.exe" "%1"

Using the command line specified in the ftype output against an ICA file makes the file launch fine, so there’s something broken somewhere else that’s making this fail.

As the Citrix forum posting states, a Windows installer flag is making the product think it needs to re-install/repair even though it’s actually fine. My solution was simple, create a new “ftype” with the same (working) wfcrun32.exe command line, and associate the .ica file with that instead instead.

How to do it: log on as an administrator and from a command prompt run the following:

ftype Citrix.ICAClient.2.7.NEW="C:\Program Files\Citrix\ICA Client\wfcrun32.exe" "%1"
assoc .ica=Citrix.ICAClient.2.7.NEW

This fixes the whole server, users do not need to log off and back on, it takes effect immediately. Importantly, it does not seem to break PNAgent either.

This entry was posted in XenApp and tagged , , , . Bookmark the permalink.

4 Responses to Fail to launch .ica files – workaround

  1. Vishaal says:

    Hi There?
    we’re running Xenapp 6.5 on the servers and the 12.0.0.6410 version of the online plugin on user PCs.
    when the users try to launch a citrix application is takes ages to launch? Any ideas? How can I fix this?

  2. rcmtech says:

    I suggest you investigate what is causing the delays. When does the session logon occur, when does the profile finish loading, how about logon scripts or mapped drives? I am unable to provide free consultancy via blog comments, sorry!

  3. Vishaal says:

    Logon session is complete and all the drives are mapped correctly. The users profile is correctly logged on. Its just the citrix applications that take ages to load. Any help would be greatly appreciated.
    Cheers
    Vish

  4. Rajesh M S says:

    Best solution it worked for me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s