From: Eduardo Davila Date: Mon, 9 Feb 2009 17:14:55 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: EED.02Oct2009 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=73acc8c6f777cb040b02375192c17b6e67c9f9ff;hp=d2e69ed72a2101f2d76167b92ad51bc9b6755368;p=creaEnvironment.git *** empty log message *** --- 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 "")