Open wadim-al opened 7 years ago
If I understand correctly, the user here is manually installing into the same destination folder, not the default, without first uninstalling the previous version.
This seems like a minor problem.
One approach would be to set the CPACK variable CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL in CMakeLists.txt https://cmake.org/cmake/help/v3.0/module/CPackNSIS.html
This way, the user might be asked during install if they want to uninstall the previous version. Of course, this won't solve the problem where the use might say "no", don't uninstall the previous version, and then make the same complaint we are hearing here.
Steps:
Expected: Only one uninstaller entry is listed in Control panel > Programs and Features for the latest version installed.
Actual: In my case there are 4 GZDoom vivedoom uninstallers listed for each version I tried.
Environment: Win10x64
Screenshot: