diff --git a/Code/Mantid/Vates/CMakeLists.txt b/Code/Mantid/Vates/CMakeLists.txt index b05cf135151c8a6bc80b16818f76308e6bf3102a..dc354d719aaa01a53cb109126e7ec6b225423182 100644 --- a/Code/Mantid/Vates/CMakeLists.txt +++ b/Code/Mantid/Vates/CMakeLists.txt @@ -60,8 +60,8 @@ if( ParaView_FOUND AND USE_PARAVIEW ) ClearErrors ReadEnvStr $R0 'MANTIDPATH' IfErrors 0 +2 - messagebox mb_ok 'Mantid does not appear to be installed.' - + messagebox mb_ok 'Mantid may not be installed. Please check that you have installed Mantid properly.' + Push \\\"PATH\\\" Push \\\"A\\\" Push \\\"HKCU\\\" @@ -72,6 +72,13 @@ if( ParaView_FOUND AND USE_PARAVIEW ) Push \\\"PATH\\\" Push \\\"A\\\" Push \\\"HKCU\\\" + Push \\\"$INSTDIR\\\\..\\\\plugins\\\" + Call EnvVarUpdate + Pop \\\$0 + + Push \\\"PATH\\\" + Push \\\"A\\\" + Push \\\"HKCU\\\" Push \\\"$INSTDIR\\\\bin\\\" Call EnvVarUpdate Pop \\\$0 @@ -103,6 +110,13 @@ if( ParaView_FOUND AND USE_PARAVIEW ) Push \\\"PATH\\\" Push \\\"R\\\" Push \\\"HKCU\\\" + Push \\\"$INSTDIR\\\\..\\\\plugins\\\" + Call un.EnvVarUpdate + Pop \\\$0 + + Push \\\"PATH\\\" + Push \\\"R\\\" + Push \\\"HKCU\\\" Push \\\"$INSTDIR\\\\bin\\\" Call un.EnvVarUpdate Pop \\\$0