If you planned to allow that the user performs a re-install of the product with a newer version, overwriting the current release, then you most likely added a value in the registry holding the folder path where the product was deployed on the user's system. Also, you need to have a unique registry key for the uninstaller for all releases, or you will have multiple entries in the Programs and Features dialog, meaning that your unique key should not have the %ProductVer% in it.
In your setup, you would typically query the value you saved, and then set this as the %AppFolder%, instead of offering the Select Install Folder screen. Also, the Select Shortcut Folder most likely should not be shown in the case of an upgrade or reinstallation.
In your setup, you would typically query the value you saved, and then set this as the %AppFolder%, instead of offering the Select Install Folder screen. Also, the Select Shortcut Folder most likely should not be shown in the case of an upgrade or reinstallation.
Leave a comment: