Kolo
10-10-2009, 09:35 AM
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.ini", "ProgramDownload", "LocalDir", "%AppFolder%\\Program Updates")
and...
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.ini", "ProgramDownload", "LocalDir", _AppFolder.."\Program Updates")
and
cString = <concatenated string>
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.ini", "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
I've tried ...
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.ini", "ProgramDownload", "LocalDir", "%AppFolder%\\Program Updates")
and...
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.ini", "ProgramDownload", "LocalDir", _AppFolder.."\Program Updates")
and
cString = <concatenated string>
INIFile.SetValue("%AppFolder%\\SoftwareFTPConfig.ini", "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