diff --git a/cmake/installer/uninstaller.ico b/cmake/installer/uninstaller.ico new file mode 100644 index 0000000000..8d84d9d094 Binary files /dev/null and b/cmake/installer/uninstaller.ico differ diff --git a/cmake/macros/GenerateInstallers.cmake b/cmake/macros/GenerateInstallers.cmake index fb29641cc4..b09218f844 100644 --- a/cmake/macros/GenerateInstallers.cmake +++ b/cmake/macros/GenerateInstallers.cmake @@ -24,6 +24,7 @@ macro(GENERATE_INSTALLERS) set(CPACK_NSIS_PACKAGE_NAME ${_DISPLAY_NAME}) set(CPACK_PACKAGE_INSTALL_DIRECTORY ${_DISPLAY_NAME}) set(CPACK_NSIS_MUI_ICON "${HF_CMAKE_DIR}/installer/installer.ico") + set(CPACK_NSIS_INSTALLED_ICON_NAME "${HF_CMAKE_DIR}/installer/uninstaller.ico") if (WIN32) # use macro to put backslashes in header image path since nsis requires them