Link to home
Start Free TrialLog in
Avatar of CSM Tech
CSM TechFlag for United States of America

asked on

How do you repackage a customized webica.ini file in Citrix XenApp plugin version 11?

How do you repackage a customized webica.ini with the new Citrix XenApp plugin for Hosted Apps?
I know how to extract it (msiexec.exe /a xenapphosted.msi) to uncompress it to a temporary directory, but how do you populate a prepackaged webica.ini to suppress the Citrix file security message?

I also know the location of the webica.ini file has moved to the user's profile in the AppData\ICA Client directory.
Avatar of CSM Tech
CSM Tech
Flag of United States of America image

ASKER

Adjusting to 500 points...can anyone please help me out?
Avatar of Carl Webster
Hold on.  This one will take a while to lab out to see if I can get the steps documented.
Is there a specific client OS you are targeting?  My Vista Ultimate client has the file in

c:\users\username\Application Data\ICAClient and a copy in c:\users\username\AppData\Roaming\ICAClient
Either Windows XP or Vista if anything.
I think the %AppData% environment variable would put it in the correct user profile's Application Data directory so whether it's Windows XP or Windows Vista wouldn't matter in that case. That being said, I don't know how to do it with the environment variable or to hard code C:\Users\Application Data\ICAClient or C:\Documents and Settings\[username]\Application Data\ICAClient.
Thanks for trying to help me by the way.
In my lab environment, I have:

XP:
APPDATA  = c:\documents and settings\username\application data

VISTA:
APPDATA = c:\users\username\AppData\Roaming
LOCALAPPDATA = c:\users\username\AppData\Local

You should be able to append \ICAClient to the end and then copy your modified webica.ini file there.

For XP you could use something like:

copy \\server\share\icaclient\webica.ini "%APPDATA%\ICAClient" /y

For Vista you could use something like:

copy \\server\share\icaclient\webica.ini "%APPDATA%\ICAClient" /y
copy \\server\share\icaclient\webica.ini "%LOCALAPPDATA%\ICAClient" /y

The quotes are required because of the spaces in the folder path when the environment variable is expanded.

According to http://support.citrix.com/article/CTX114265 , this is the only way to do it other than manuallu editing every users webica.ini file.

I just tested it here in my lab with XP x86 and Vista Ultimate x64 with XenApp 5 on Server 2003 (which is the same thing as 4.5 FR1 btw).
sorry forgot, your webica.ini file would contain:

[Access]
GlobalSecurityAccess=405
Thanks. I'm somewhat new to software packaging in general. Do you mean I should be adding a copy command with the MSI package (ie, using WISE) to the packaged client? If so, is that the only way? (I don't have access to WISE and am pretty new to packaging). I tried using ORCA but it's rather difficult to add that webica.ini file to a user's directory (it was very easy in previous Citrix ICA Client versions when it could simply exist in %SystemRoot%

XenApp 5 on Windows 2003 does have a few very minor new features in it but nothing substantial (as you probably already know, all the nice new features are usable only on a Windows 2008 installed instance)
No, the webica.ini would be added via a login script or someother type of batch, cmd or powershell scripting tool.  It does work with a Group Policy login script.

Using the automated procedure from the Components CD, the webica.ini file does not exist in the extracted file.  There are no instructions on where it needs to be placed for a successful repackaging and push out to the end user.  Sorry.  IMNSHO, Citrix screwed up on this.
Many thanks for trying to help. I agree they made it much more difficult than in the past - they supposedly made the change in location for Vista's security or else populating it into %SystemRoot% using Orca is a piece of cake.
SOLUTION
Avatar of Carl Webster
Carl Webster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you want to wait another day or two, that is fine.