From af0d9e5c0bc8bf153de542fdb0be3193dcd22ec9 Mon Sep 17 00:00:00 2001 From: Louie S Date: Wed, 1 May 2024 15:22:53 -0400 Subject: Add option to NSIS to launch app after installing --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95ec0b2..2650c23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,9 @@ set(CPACK_NSIS_CREATE_ICONS_EXTRA set(CPACK_NSIS_DELETE_ICONS_EXTRA "Delete '$SMPROGRAMS\\\\$START_MENU\\\\${PROJECT_TITLE}.lnk'" ) +# Set FinishPage +set(CPACK_NSIS_EXECUTABLES_DIRECTORY "/") +set(CPACK_NSIS_MUI_FINISHPAGE_RUN "assignment-list.exe") # Based on https://stackoverflow.com/q/69139412 if(CMAKE_SYSTEM MATCHES "Windows*") set(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROJECT_TITLE}) -- cgit