Upgrade settings: "Automatically upgrade older versions" + "Use original installation path when upgrading".
Install type: "Per-machine if admin, per-user otherwise".
If user has installed ver 1 per-user and then runs installer of ver 2, ver 2 installer's InstallTypeDlg defaults to per-machine installation and if installation is finished, user ends up with both versions installed.
If installer detects existing version installed per-user then it should default to per-user in InstallTypeDlg. Othewise it is very easy to end up having multiple versions installed by just pressing Next in installer.
Also, if user has existing version as per-user and then decides to install ver 2 as per-machine, currently existing per-user install is not removed when ver 2 is installed as per-machine.
FOLLOW US
Get the latest news in Application Packaging