From 73acc8c6f777cb040b02375192c17b6e67c9f9ff Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 9 Feb 2009 17:14:55 +0000 Subject: [PATCH] *** empty log message *** --- install/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install/CMakeLists.txt b/install/CMakeLists.txt index eb74492..a269cd3 100644 --- a/install/CMakeLists.txt +++ b/install/CMakeLists.txt @@ -58,6 +58,19 @@ IF(WIN32 AND NOT UNIX) SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.creatis.insa-lyon.fr/creatools/creaEnvironment") SET(CPACK_NSIS_CONTACT "info-dev@creatis.insa-lyon.fr") SET(CPACK_NSIS_MODIFY_PATH ON) + + + +# SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "MessageBox MB_OK 'nnnn eeeeeeed'") + SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "WriteRegStr HKLM 'SYSTEM\\\\CurrentControlSet\\\\Control\\\\Session Manager\\\\Environment' 'xxEED' 'upspppppEED'") +# SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 'STR:Environment' /TIMEOUT=5000") + + +# WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "xxEED" "upslllllEED" +# SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 + + + ELSE(WIN32 AND NOT UNIX) # SET(CPACK_STRIP_FILES "bin/bbi") SET(CPACK_SOURCE_STRIP_FILES "") -- 2.47.1