Results 1 to 2 of 2

Thread: How to make ini chnages conditional

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: How to make ini chnages conditional

    Tony,

    No problem. See http://www.lindersoft.com/projects/TonyINI.zip and the attached screenshot.

    It will create a 'test.ini' INI file and always writes the "Version" and "Date" to the [INFO] section.

    [INFO]
    Version=1.2.3.4
    Date=2012-11-07

    Then it checks if the "Path" entry has a value. If this is not the case, it writes a path value to the INI file.

    [INFO]
    Version=1.2.3.4
    Date=2012-11-07
    Path=C:\TEST

    Note: If the Path value already exists, it will not update it.

    Does this help?

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official Comodo Code Signing and SSL Certificate Partner
    Attached Images Attached Images  

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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