summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorVarriount <Varriount@users.noreply.github.com>2014-10-25 13:38:14 -0400
committerVarriount <Varriount@users.noreply.github.com>2014-10-25 13:38:14 -0400
commitd5b94390dcfe61c645b43305e3673b6c696b39c7 (patch)
treee3319864f350dd58611f983971560baebb317ff0 /tools
parentd4820517108cd56939c0df8378b9b34ef0867e08 (diff)
downloadNim-d5b94390dcfe61c645b43305e3673b6c696b39c7.tar.gz
Update nsis.tmpl
Fix adding the mingw binary to the path variable
Diffstat (limited to 'tools')
-rw-r--r--tools/niminst/nsis.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/niminst/nsis.tmpl b/tools/niminst/nsis.tmpl
index 974def634..14b1e7d77 100644
--- a/tools/niminst/nsis.tmpl
+++ b/tools/niminst/nsis.tmpl
@@ -162,6 +162,7 @@
   ; Section for adding tools to the PATH variable
   Section "Setup Path Environment" PathSection
      ${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\mingw"
+     ${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\mingw\bin"
      ${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\bin"
      ${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\babel"
   SectionEnd
@@ -248,6 +249,7 @@
 
     ; Remove entries from the PATH environment variable
     ${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\mingw"
+    ${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\mingw\bin"
     ${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\bin"
     ${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\babel"
   SectionEnd