CPack/NSIS: Uninstall.exe remains after removal of the program on reinstall.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL=ON and we choose to uninstall old version in installation dialog the file Uninstall.exe remains in the installation directory.
- Set CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL=ON in a project created with CMake.
- Install the program.
- Reinstall and check "Do you want to uninstall the old version before installing the new one?" in the installation dialog.
- You will see that all files of the program are removed except the Uninstall.exe file.
Edited by Brad King