Get Previous Install Info
Previous Topic  Next Topic 

This action gets a specific set of install information based on a given Install ID.  Since a single application can have multiple installations on the same system, this action can be used to get specific information from a specific install.  You must first find the Install ID though.

Standard Properties 

See Standard Action Properties.

Advanced Properties

Application ID

The Application ID to read previous install information from.  This defaults to the current installer's <%ApplicationID%>, but this action can also be used to read install information from other installations.

Install ID

The install ID of the install whose information you want to get.

Virtual Text Prefix

A string to prefix to the beginning of each piece of information from the install registry.  This prefix will be used for each variable from the registry to add information to virtual text variables depending on what information is available.

The following virtual text variables are set as a result of this action (assuming that your Virual Text Prefix is PreviousInstall):


The Application ID of the previously installed application.  This should match your own Application ID unless the previous install was an upgrade install.  In that case, the Upgrade Install ID should match your application ID.


The install date of the last install in clock seconds.  This can be formatted using the <%Date%> virtual text.


The number of previous installations found on the target system.  Only the last install, by date, will be used for this information.


The installation directory of the last install.


A convenience value that tells you whether or not the previous install dir still exists on the target system.


The full path of the previous install executable when it was run.


This value will be true if a previous install was found, or false if one was not found.


The Install ID of the last install.  This is the ID that is generated everytime an installer is run, so this ID will change with each subsequent install.


The real username of the person who installed last.  This is the real username even if the user was running as root.


The directory where the previous installer was run from.


The full path to the uninstaller of the last install.


The Upgrade Application ID of the last install.


The username of the person who installed last.


The install version (, etc...) of the last install.


The install version string (1.0a1, etc...) of the last install.


Other variables can also be set if a developer has added information to the install registry through the Add Install Info action.  Any variable added through that action will also appear in virtual text as a result of this action.  For example:

If the Key Foo was added with the Value Bar, you would get the variable <%PreviousInstallFoo%> that would equal Bar.