Retrieving INSTALLDIR from a previous install

book

Article ID: 179609

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

 

Resolution

Question
How do I retrieve a path from a previous installaton in an upgraded .MSI?

Answer
An installation is not automatically able to retrieve the path of a previous installation.

You will need to store the path in a registry key in the previous installation, then during the upgrade retrieve that path using System Search to search the registry and then set the INSTALLDIR property to use the previous path.

The upgrade itself does this by default if the upgrade is set up correctly.