diff options
author | Louie S <louie@example.com> | 2024-05-01 15:22:53 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-05-01 15:22:53 -0400 |
commit | af0d9e5c0bc8bf153de542fdb0be3193dcd22ec9 (patch) | |
tree | 2f1a6cb58f24c860068b906ab4735e5934636052 /CMakeLists.txt | |
parent | d89592488cf06157c2197f964878ecdef637e008 (diff) |
Add option to NSIS to launch app after installing
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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}) |