]> Creatis software - creaEnvironment.git/commitdiff
*** empty log message *** EED.02Oct2009
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 9 Feb 2009 17:14:55 +0000 (17:14 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 9 Feb 2009 17:14:55 +0000 (17:14 +0000)
install/CMakeLists.txt

index eb74492e76bffa3eb617844c04f81748234dae0a..a269cd3f4fba2b340c0df137efd4f7ad60d1d064 100644 (file)
@@ -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 "")