NewsArchive
09-21-2006, 05:33 AM
Hi All,
Version 5.6.1627
As hard as I have tried I can't seem to wrap my head
around this or get it done.
*After* the files have been written to the install folder I
need to check an INI file and add some items if they
do not exist. If they already exist I need to leave them
alone.
According to the DOCS, using the function "Get INI
Value" should read the INI file and populate the Variable
with the value found for the Item and section if it exists
in the file.
My setup looks something like this:
Variable: %MY_COUNTRY%
Default:
Path Name: %_SB5_INSTALLDIR%\filename.ini
INI Section: Setup
INI Item: Country
When I run the install %MY_COUNTRY% returns empty
even though the section and item are in the INI file.
Does anyone have a clue what I'm doing wrong? Can you
point me in the right direction to get my problem solved?
Thanks a bunch
--
Regards,
Lee
http://www.cya2day.com
Version 5.6.1627
As hard as I have tried I can't seem to wrap my head
around this or get it done.
*After* the files have been written to the install folder I
need to check an INI file and add some items if they
do not exist. If they already exist I need to leave them
alone.
According to the DOCS, using the function "Get INI
Value" should read the INI file and populate the Variable
with the value found for the Item and section if it exists
in the file.
My setup looks something like this:
Variable: %MY_COUNTRY%
Default:
Path Name: %_SB5_INSTALLDIR%\filename.ini
INI Section: Setup
INI Item: Country
When I run the install %MY_COUNTRY% returns empty
even though the section and item are in the INI file.
Does anyone have a clue what I'm doing wrong? Can you
point me in the right direction to get my problem solved?
Thanks a bunch
--
Regards,
Lee
http://www.cya2day.com