Skip to content

Commit

Permalink
refs #5103. Set env paths for the VSI.
Browse files Browse the repository at this point in the history
This is a windows only thing. The VSI stand-alone must be able to locate libraries in plugins and pvplugins. Unfortunately on Windows the user must separtely provide the PV path, but this only affects the VSI in standalone mode
  • Loading branch information
OwenArnold committed Apr 18, 2012
1 parent 1a45988 commit 4147d40
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Code/Mantid/Build/CMake/WindowsNSIS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,20 @@
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\"
Call EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\${PVPLUGINS_DIR}\\\"
Call EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\${PLUGINS_DIR}\\\"
Call EnvVarUpdate
Pop \\\$0
Push \\\"PV_PLUGIN_PATH\\\"
Expand All @@ -101,6 +115,20 @@
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\"
Call un.EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"R\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\${PVPLUGINS_DIR}\\\"
Call un.EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"R\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\${PLUGINS_DIR}\\\"
Call un.EnvVarUpdate
Pop \\\$0
Push \\\"MANTIDPATH\\\"
Expand Down

0 comments on commit 4147d40

Please sign in to comment.