Editing an INI file - POST file installation
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
Re: Editing an INI file - POST file installation
Lee,
Is your %_SB5_INSTALLDIR% variable defined and correct? The default
variable for the installation folder is %_SB_INSTALLDIR%
If you are interested, please send your filename.ini and your script to
support (at) lindersoft (dot) com and we'll check it for you.
Friedrich
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
Re: Editing an INI file - POST file installation
Hi Friedrich,
I knew all along it was going to be MY stupidity. It was the variable
name.
Thanks for the offer and most of all the answer.
--
Regards,
Lee
http://www.cya2day.com
Re: Editing an INI file - POST file installation
Hi Lee,
You are welcome :)
Friedrich
Re: Editing an INI file - POST file installation
My stepfather used to tell me "Your intelligence is only exceeded by your
stupidity"... Which meant that I did some (in his eyes) pretty stupid
things, because I have an above average intelligence.
--
Ben E. Brady
The information contained in the message above, as expressed by the author,
is copyright 2006 by Ben E. Brady, All rights strictly reserved worldwide.
The information contained in the message above may not be posted on any
other information forum or web site without the express written permission
of the author.
www.clariondeveloper.com
www.singularvisionsoftware.com
Want OUTRAGEOUS web disk space and bandwidth?
110 GB disk space and 1110 GB transfer per month,
http://www.servage.net/?coupon=CUST13495