Tony,
No problem. See http://www.lindersoft.com/projects/TonyINI.zip and the attached screenshot.
It will create a 'test.ini' INI file and always writes the "Version" and "Date" to the [INFO] section.
[INFO]
Version=1.2.3.4
Date=2012-11-07
Then it checks if the "Path" entry has a value. If this is not the case, it writes a path value to the INI file.
[INFO]
Version=1.2.3.4
Date=2012-11-07
Path=C:\TEST
Note: If the Path value already exists, it will not update it.
Does this help?
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
--Helping You Build Better Installations
--SetupBuilder "point. click. ship"
--Create Windows 8 ready installations in minutes
--Official Comodo Code Signing and SSL Certificate Partner