Announcement

Collapse
No announcement yet.

Location of Last Install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X