Page 1 of 1

How do I get original install path when upgrading?

Posted: Tue Jul 07, 2009 3:21 pm
by jsmith
When I'm upgrading to a new version (same Product and Upgrade Codes, different Revision Code), I want the Destination Folder dialog to default to the path that the previous version was installed to.

Under Project Properties -> Target Folder, I have it set to $PROGRAMFILES$\\MyCompany\\MyProduct. This is great for initial installs. But if the user chooses to install somewhere else, when he upgrades I want to change $TARGETDIR$ to the path he originally installed to. How can I get the original install path?

Thanks!

Posted: Tue Jul 07, 2009 4:20 pm
by MichaelNesmith
There are various ways to do this, please see my post:
www.installaware.com/forum/viewtopic.php?t=4829