Archive: ConfigRead Problem


ConfigRead Problem
I use the ConfigRead command on my Installer.
Now I have the Problem that I only can use the Installer when die *.ini file is in the same folder.
Isnt the ConfigRead command a run-time command like "File" ?


If the ini is not in the same folder, I guess you should pass the exact path where to find it.

Certainly the ConfigRead function operates at run time, but File is compile time instruction.


ConfigRead will work with any file at runtime, just make sure you pass it the full, valid path to the file.


If i use the below code

${ConfigRead} "[File]" "[Entry]" $var

and my config file contains <name>abcd</name> <company>xyz</company> <choise>choise1</choise>

how to get the value of company and overwrite only the value of company.

thanks in advance


ConfigRead is for key=value type format files. For XML you will need to use a plug-in.

Stu