Skip to content

Commit 2e83c44

Browse files
committed
Modified Wix installer:
- Application how installs in directory `C:\Program Files\ShellAnything 0.5.1`. - Start menu entry is now named `ShellAnything 0.5.1` instead of `ShellAnything`. For issue #75
1 parent 8185779 commit 2e83c44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ set(CPACK_WIX_UPGRADE_GUID "EBEF1698-CA72-480A-9FE3-E8A08E7E03ED")
353353
set(CPACK_WIX_LICENSE_RTF "${CMAKE_SOURCE_DIR}/resources/wix_license_template.rtf")
354354
set(CPACK_WIX_PRODUCT_ICON "${CMAKE_SOURCE_DIR}/resources/icons/shellanything.ico")
355355
set(CPACK_WIX_HELP_LINK "https://github.com/end2endzone/ShellAnything")
356+
set(CPACK_WIX_PROGRAM_MENU_FOLDER "ShellAnything ${SHELLANYTHING_VERSION}")
356357

357358
# Do not set 'CPACK_WIX_PRODUCT_GUID' to a valid GUID (ie "C532D05F-E319-4A0E-BD41-14B0B26F245B")
358359
# Set CPACK_WIX_UPGRADE_GUID to something fixed while leaving CPACK_WIX_PRODUCT_GUID unset
@@ -363,7 +364,7 @@ set(CPACK_WIX_HELP_LINK "https://github.com/end2endzone/ShellAnything")
363364
# See https://gitlab.kitware.com/cmake/cmake/-/issues/18081 for details.
364365

365366
# Define start menu shortcuts for WIX
366-
set_property(INSTALL "bin/$<TARGET_FILE_NAME:shellext>" PROPERTY CPACK_START_MENU_SHORTCUTS "Run Unit Tests" )
367+
set_property(INSTALL "bin/$<TARGET_FILE_NAME:shellanything_unittest>" PROPERTY CPACK_START_MENU_SHORTCUTS "Run Unit Tests" )
367368
set_property(INSTALL "${README_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${README_FILENAME}" )
368369
set_property(INSTALL "${USERMANUAL_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${USERMANUAL_FILENAME}" )
369370
set_property(INSTALL "${CONTRIBUTING_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${CONTRIBUTING_FILENAME}" )

0 commit comments

Comments
 (0)