I am creating an .ini file during the post-install and one of the settings is for a Local Directory. This of course is based on where the installer chose to install the app.
I've tried ...
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.i ni", "ProgramDownload", "LocalDir", "%AppFolder%\\Program Updates")
and...
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.i ni", "ProgramDownload", "LocalDir", _AppFolder.."\Program Updates")
and
cString = <concatenated string>
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.i ni", "ProgramDownload", "LocalDir", cString)
None of these work - I get a literal representation of the value (e.g. "%AppFolder\...") every time.
Can anyone help?
Thank you , Kathy

Reply With Quote


