From b623f5953691b2a0614e6f1f4def86bdbb9a4113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 8 Aug 2020 11:53:00 +0200 Subject: New upstream version 5.2.0Beta2.1 --- distribution/win32/nsis/CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'distribution/win32/nsis/CMakeLists.txt') diff --git a/distribution/win32/nsis/CMakeLists.txt b/distribution/win32/nsis/CMakeLists.txt index 40d3990..150fe43 100644 --- a/distribution/win32/nsis/CMakeLists.txt +++ b/distribution/win32/nsis/CMakeLists.txt @@ -1,17 +1,23 @@ STRING(REPLACE "/" "\\\\" NATIVE_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) SET(CPACK_GENERATOR "NSIS") +SET(CPACK_PACKAGE_INSTALL_DIRECTORY "XTrackCAD") +SET(CPACK_NSIS_EXECUTABLE_NAME "bin\\\\xtrkcad.exe") +SET(CPACK_NSIS_DISPLAY_NAME "XTrackCAD ${CPACK_PACKAGE_VERSION}") SET(CPACK_PACKAGE_ICON "${NATIVE_CURRENT_SOURCE_DIR}\\\\headerimage.bmp") SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\xtrkcad.exe") SET(CPACK_NSIS_HELP_LINK "http://www.xtrkcad.org") +SET(CPACK_NSIS_MUI_FINISHPAGE_RUN "xtrkcad.exe") +set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL "on") + +SET(CPACK_NSIS_STARTMENU_FOLDER "XTrackCAD") SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "; add part specific to XTrackCAD installation !include \\\"${NATIVE_CURRENT_SOURCE_DIR}\\\\install.nsh\\\"") - + SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "; add part specific to XTrackCAD uninstall !include \\\"${NATIVE_CURRENT_SOURCE_DIR}\\\\uninstall.nsh\\\"") - -INCLUDE(CPack) +INCLUDE(CPack) -- cgit v1.2.3