Currently our application is uninstalled and reinstalled every time a new version is sent out. This is done by checking to see if a previous version is installed.

Is there a way to determine where the user installed the application?

Currently I am using the SetupBuilder variable %_SB_INSTALLDIR% to determine where the applications uninstall is.

This only works if the user didn't change the install directory.

In our case the default install path is going to change because our companies name is changing.

If the previous install directory is C:\Program Files\Company Name\Product and it will be changed to C:\Program Files\Company\Product. %_SB_INSTALLDIR% for the uninstall does not work because the path is incorrect.