Skip to content
Snippets Groups Projects
Commit cc985e13 authored by Owen Arnold's avatar Owen Arnold
Browse files

refs #4318. Should fix PATH updates.

parent 5d8f0156
No related branches found
No related tags found
No related merge requests found
...@@ -60,8 +60,8 @@ if( ParaView_FOUND AND USE_PARAVIEW ) ...@@ -60,8 +60,8 @@ if( ParaView_FOUND AND USE_PARAVIEW )
ClearErrors ClearErrors
ReadEnvStr $R0 'MANTIDPATH' ReadEnvStr $R0 'MANTIDPATH'
IfErrors 0 +2 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 \\\"PATH\\\"
Push \\\"A\\\" Push \\\"A\\\"
Push \\\"HKCU\\\" Push \\\"HKCU\\\"
...@@ -72,6 +72,13 @@ if( ParaView_FOUND AND USE_PARAVIEW ) ...@@ -72,6 +72,13 @@ if( ParaView_FOUND AND USE_PARAVIEW )
Push \\\"PATH\\\" Push \\\"PATH\\\"
Push \\\"A\\\" Push \\\"A\\\"
Push \\\"HKCU\\\" Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\..\\\\plugins\\\"
Call EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\" Push \\\"$INSTDIR\\\\bin\\\"
Call EnvVarUpdate Call EnvVarUpdate
Pop \\\$0 Pop \\\$0
...@@ -103,6 +110,13 @@ if( ParaView_FOUND AND USE_PARAVIEW ) ...@@ -103,6 +110,13 @@ if( ParaView_FOUND AND USE_PARAVIEW )
Push \\\"PATH\\\" Push \\\"PATH\\\"
Push \\\"R\\\" Push \\\"R\\\"
Push \\\"HKCU\\\" Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\..\\\\plugins\\\"
Call un.EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"R\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\" Push \\\"$INSTDIR\\\\bin\\\"
Call un.EnvVarUpdate Call un.EnvVarUpdate
Pop \\\$0 Pop \\\$0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment