Results 1 to 5 of 5

Thread: Editing an INI file - POST file installation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default 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

  2. #2

    Default 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

  3. #3

    Default 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

  4. #4

    Default Re: Editing an INI file - POST file installation

    Hi Lee,

    You are welcome

    Friedrich

  5. #5

    Default 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SetupBuilder 5.5 Developer Edition is released!
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 13
    Last Post: 08-30-2006, 12:09 AM
  2. SetupBuilder 5.5 Developer Edition is released!
    By linder in forum Lindersoft Announcements
    Replies: 0
    Last Post: 08-14-2006, 04:36 AM
  3. Cannot open and compress service file - error
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 6
    Last Post: 12-06-2005, 04:40 AM
  4. Extract a zip file during an installation?
    By Unregistered in forum SetupBuilder
    Replies: 2
    Last Post: 05-23-2005, 01:21 AM
  5. Firebird Silent install
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 04-19-2005, 09:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •