Permalink
Browse files

Add $INSTDIR/mingw/bin to $PATH (#212).

  • Loading branch information...
23Skidoo committed Oct 25, 2012
1 parent 5cd454a commit a2e863737a15883d3bc19ac78c0755cdaaba65bf
Showing with 2 additions and 0 deletions.
  1. +2 −0 Nsisfile.nsi
View
@@ -150,6 +150,7 @@ Section "Update the PATH environment variable" SecPath
; Update PATH
${EnvVarUpdate} $0 "PATH" "P" "HKLM" "$INSTDIR\bin"
${EnvVarUpdate} $0 "PATH" "P" "HKLM" "$INSTDIR\lib\extralibs\bin"
+ ${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR\mingw\bin"
${EnvVarUpdate} $0 "PATH" "P" "HKLM" "$PROGRAMFILES\Haskell\bin"
SetShellVarContext current
${EnvVarUpdate} $0 "PATH" "P" "HKCU" "$APPDATA\cabal\bin"
@@ -280,6 +281,7 @@ Section "Uninstall"
; Update PATH
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\lib\extralibs\bin"
+ ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\mingw\bin"
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$PROGRAMFILES\Haskell\bin"
SetShellVarContext current
${un.EnvVarUpdate} $0 "PATH" "R" "HKCU" "$APPDATA\cabal\bin"

0 comments on commit a2e8637

Please sign in to comment.