jingdan
asked on
How to replace appsrv.ini in ica32pkg.msi?
ica32pkg.msi installs CItrix client on a Windows workstation. How to replace the appsrv.ini file inside this MSI package with one containing customized settings?
Unlike all other files, .ini files in .msi are handled in a special way. They are handled not as files but as individual keys and their values, per-line, similar to registry settings. Inside the msi, there is special table INIFILE that holds each line of the .ini file. So, what you have to do in ORCA is not to replace the ini file, but put customized keys and their values into INIFILE table.
ASKER
Thanks vadimrapp1!
Is INIFILE the only table that needs to be involved?
Could you use an example to explain in more detailed steps regarding "put customized keys and their values into INIFILE table" for a INI file using ORCA?
Is INIFILE the only table that needs to be involved?
Could you use an example to explain in more detailed steps regarding "put customized keys and their values into INIFILE table" for a INI file using ORCA?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
correction: directory and component from (4)
Oscar, I'm confused, are you and jingdan the same person?
Nope... Just have the same issue.
then the same solution should work - create one line in the table for each pair key/value you want in the .ini file. For example,
Inifile - 1
filename = appsrv.ini
DirProperty = <see my previous post>
Section = WFClient
key = SSOnUserSetting
value = On
action=0
Component - <see my previous post>
Inifile - 2
filename = appsrv.ini
DirProperty = <see my previous post>
Section = WFClient
key = EnableSSOnThruICAFile
value = On
action=0
Component - <see my previous post>
...and so on.
Inifile - 1
filename = appsrv.ini
DirProperty = <see my previous post>
Section = WFClient
key = SSOnUserSetting
value = On
action=0
Component - <see my previous post>
Inifile - 2
filename = appsrv.ini
DirProperty = <see my previous post>
Section = WFClient
key = EnableSSOnThruICAFile
value = On
action=0
Component - <see my previous post>
...and so on.
Vadimrapp1,
Thanks for the details. It worked perfectly.
Vee Mod,
Will do.. Sorry for the confusion. My apologies to all.
--Oscar
Thanks for the details. It worked perfectly.
Vee Mod,
Will do.. Sorry for the confusion. My apologies to all.
--Oscar
ASKER
It looks like I am late to the party :)
Thanks for the detailed instructions Vadimrapp1! I will try it and let you know the results.
Thanks for the detailed instructions Vadimrapp1! I will try it and let you know the results.
ASKER
vadimrapp1:
I am still testing the solution, but still not working. For example, by editing the InFile table, I can have the customized icon added, but actual connection to Citrix server is still failing. Maybe there are more table involved in my case?
I have accepted and awarded the points to you since your solution indeed helped, although there are still issues remaining.
I am still testing the solution, but still not working. For example, by editing the InFile table, I can have the customized icon added, but actual connection to Citrix server is still failing. Maybe there are more table involved in my case?
I have accepted and awarded the points to you since your solution indeed helped, although there are still issues remaining.
I think the path to the solution is that at this point you should separate the issue of placing the values into the .ini file and the issue of these values being sufficient for the purpose.
As I understand, what I have suggested worked, and the values that you have specified in the installation have made their way into the resulting ini file.
If so, then further solution obviously lies in the area of finding the exact set of ini values that will make your citrix happy. Once you know them, you will put them in the installation the same way as you did before. If this is all so indeed, then your downgrading the solution to B when the question clearly was only about the .ini file itself, looks somewhat surprising.
Take care.
As I understand, what I have suggested worked, and the values that you have specified in the installation have made their way into the resulting ini file.
If so, then further solution obviously lies in the area of finding the exact set of ini values that will make your citrix happy. Once you know them, you will put them in the installation the same way as you did before. If this is all so indeed, then your downgrading the solution to B when the question clearly was only about the .ini file itself, looks somewhat surprising.
Take care.
Use ORCA to edit your .msi package.
More info: http://support.microsoft.com/kb/255905
Best Regards