When you said >> In a fat client the ini file needs to be the computer name. did you mean the name of the ini file should be the computer's name ?? If it's that here is what I would try ..
1. rename the file to something else I'll call it ComName.ini, say.
2. write a batch file called , say, RunApp.bat and the content will be>>>
@echo off
change client /default
REM the above line is citrix command to make sure that the drives mapped properly
cmd /c copy (path to the ini file)\ComName.ini (path to the ini file)\%COMPUTERNAME%.ini
command-to-run-your-app.exe
REM end of batch file
That should do the trick if you just want the name of the ini file to be the name of the computer.
By having a look at the content of the file, this is what I guessed you might need to change thenname in the section below as well : (Ignore this if it is not relevant)
[Patient Education]
;note: duplicate key name in NextGen.ini
Name=Caesey
Path=C:\\CAESY\\MENU.EXE D:\
Try this
1. If it doesn't make any different where this section [Patient Education] is in the ini file, I 'd move it to the end. and re move this bit :
Name=Caesey
Path=C:\\CAESY\\MENU.EXE D:\(still rename it to ComName.ini )
2. edit the batch file
@echo off
change client /default
REM >>the above line is citrix command to make sure that the drives mapped properly
cmd /c copy (path to the ini file)\ComName.ini (path to the ini file)\%COMPUTERNAME%.ini
REM >> this bit is to add the bit that you removed but with the new computer name (and the new path if needed)
echo
echo Name=%COMPUTERNAME% >> (path to the ini file)%COMPUTERNAME%.ini
echo
REM Change Path if you need to
echo Path=C:\\CAESY\\MENU.EXE D:\\ >> (path to the ini file)%COMPUTERNAME%.ini
command-to-run-your-app.exe
REM end of batch file
So you got the batch file to change to the computer's name called RunApp.bat
In the command line to run the published application you just call this batch file instead.
See if it works, if not I'll talk you through checking the reg key and change that.
Good luck
Ta