Using an 'ini' file from the installer directory
Hi All,
I'm trying to create a generic installer that picks up variable information from an ini file that will be shipped with it (and stored in the same directory as the installer exe), thereby saving me having to compile a new version for each install location.
I have a simple file and the ReadINIStr was working fine when I included the ini file in the installer package and read it from $INSTDIR but if I don't include it and just use (for example)
ReadINIStr $LocationID "$EXEDIR\Configuration.ini" "Configuration" "LocationID"
I get nothing back.
Am I doing something wrong or is this not possible?
Many thanks
Clegg