Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Posts
    27

    Location of Last Install

    I am writing the %AppDir% value to an INI file, but I just realized that the variables I am trying to load in the INI variables can not be loaded because it will not know the value of %AppDir% until the screens are processed and that gives the path to the ini file. How can I get the value of this variable loaded, on an re-install, before the INI variables are loaded.

  2. #2
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943

    Re: Location of Last Install

    Hi,
    What I would do is write the location of the last installation into the Registry instead of using an INI file. That way you will always know the exact location of the Registry value.
    So at the end of each installation write %AppDir% into the registry. And at the beginning of each installation, if the registry value exists, read it into %AppDir%.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

Posting Permissions

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