Windows : Fix application icon in Windows programs list.

This commit is contained in:
Julien Wadel 2023-01-10 15:05:03 +01:00
parent 115fcb3122
commit fffc225f81
3 changed files with 10 additions and 3 deletions

View file

@ -7,13 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 5.0.6 - 2023-01-10
### Fixed
- URI Handlers to a conference
- URI Handlers to a conference.
- Display application icon and estimated size in Windows programs list.
## 5.0.5 - 2023-01-09
### Fixed
- Crash at startup
- Deploy missing OpenSSL libraries on Windows (fix blank message on image url)
- Crash at startup.
- Deploy missing OpenSSL libraries on Windows (fix blank message on image url).
- Update SDK to 5.2.10
## 5.0.4 - 2022-12-28

View file

@ -426,6 +426,7 @@ if(${ENABLE_APP_PACKAGING})
set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "!include \\\"${ESCAPED_DOS_STYLE_BINARY_DIR}\\\\uninstall.nsi\\\"")
set(CPACK_NSIS_EXECUTABLES_DIRECTORY "bin")
set(CPACK_NSIS_MUI_FINISHPAGE_RUN "${EXECUTABLE_NAME}.exe")
set(CPACK_NSIS_INSTALLED_ICON_NAME "${CPACK_NSIS_EXECUTABLES_DIRECTORY}/${CPACK_NSIS_MUI_FINISHPAGE_RUN}")
message(STATUS "Set NSIS CPack generator in OUTPUT/Packages")
else ()
set(PACKAGE_EXT "msi")

View file

@ -31,6 +31,7 @@
;General
;Name and file
!include "FileFunc.nsh"
Name "@CPACK_NSIS_PACKAGE_NAME@"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
@ -646,6 +647,10 @@ Section "-Core installation"
@CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS@
@CPACK_NSIS_FULL_INSTALL@
${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
IntFmt $0 "0x%08X" $0
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "EstimatedSize" "$0"
;Store installation folder
WriteRegStr SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "" $INSTDIR