I am using version 10.2A, want to define environment variables in .ini file. However, I can't find progress.ini file in DLC directory. Is that appears on any other form on this version?
You should find a copy of it in your DLC/bin directory. You should use a copy of that file rather than changing the original, otherwise a service pack installation will remove your changes.
During the installation the contents of the progress.ini that resides in your installation directory are written into the registry.
If you don't specify anything then the Progress client looks up the registry key HKEY_CURRENT_USER\Software\PSC\PROGRESS\<version>. There you will find folders like the sections in the ini file. There is an ini2reg.exe in the bin directory beneath the installation directory that does that and which you can use to import you own ini into the regsitry. Don't know right now whether it will also look up HKEY_KEY_LOCAL_MACHINE - I think that depens on your choice when you get asked whether this installation should be for all users or just you during installation. Nevertheless if nothing is present in the registry then the progress.ini residing in the installation directory is picked up.
You have two client startup parameters which give you the possibility to configure that behavior:
-basekey - defines the registry key to use. Specifying "INI" tells the client to skip the registry and look only for files. I always do that because the registry might be subject to change by the user without your notice and I don't like the registry so much.
-ininame - defines the name of the ini which can be the path to the file. I always have my own ini with my own file residing in the installation directory of my application - not the Progress installation.
That way it is very transparant which ini should be picked up and where it resides.
I hope this gives you a clue where to search for it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.