add 'run Hedgewars' checkbox at the end of the NSIS installation
authorkoda
Tue, 12 Mar 2013 19:25:05 +0100
changeset 8723 b08cc68a26a3
parent 8722 2dead6b84bca
child 8724 20df35007528
add 'run Hedgewars' checkbox at the end of the NSIS installation
cmake_modules/CPackConfig.cmake
--- a/cmake_modules/CPackConfig.cmake	Tue Mar 12 17:18:55 2013 +0100
+++ b/cmake_modules/CPackConfig.cmake	Tue Mar 12 19:25:05 2013 +0100
@@ -24,6 +24,7 @@
     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
     set(CPACK_NSIS_MODIFY_PATH OFF)
     set(CPACK_NSIS_EXECUTABLES_DIRECTORY "${target_binary_install_dir}")
+    set(CPACK_NSIS_MUI_FINISHPAGE_RUN "hedgewars${CMAKE_EXECUTABLE_SUFFIX}")
     set(CPACK_GENERATOR "ZIP;NSIS")
     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
 endif(WIN32 AND NOT UNIX)