aboutsummaryrefslogtreecommitdiffstats
path: root/build/nsis.install.nsh
diff options
context:
space:
mode:
Diffstat (limited to 'build/nsis.install.nsh')
-rw-r--r--build/nsis.install.nsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/nsis.install.nsh b/build/nsis.install.nsh
index f9ad8e95e..57ef5a37c 100644
--- a/build/nsis.install.nsh
+++ b/build/nsis.install.nsh
@@ -37,8 +37,9 @@ Section "Geth" GETH_IDX
${EnvVarUpdate} $0 "ETHEREUM_SOCKET" "R" "HKLM" "\\.\pipe\geth.ipc"
${EnvVarUpdate} $0 "ETHEREUM_SOCKET" "A" "HKLM" "\\.\pipe\geth.ipc"
- # Add geth to PATH
- ${EnvVarUpdate} $0 "PATH" "A" "HKLM" $INSTDIR
+ # Add instdir to PATH
+ Push "$INSTDIR"
+ Call AddToPath
SectionEnd
# Install optional develop tools.