mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-21 01:42:26 +00:00
Fix Windows installer PATH
This commit is contained in:
parent
3d3e2fd23f
commit
98b873d48d
@ -34,11 +34,11 @@ Section "Install"
|
||||
File "..\..\build\distrib\resin-cli-win32.zip"
|
||||
!insertmacro ZIPDLL_EXTRACT "$INSTDIR\resin-cli-win32.zip" "$INSTDIR" "<ALL>"
|
||||
Delete "$INSTDIR\resin-cli-win32.zip"
|
||||
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR\resin-cli-win32\bin"
|
||||
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR\bin"
|
||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
||||
SectionEnd
|
||||
|
||||
Section "Uninstall"
|
||||
RMDir /r "$INSTDIR"
|
||||
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\resin-cli-win32\bin"
|
||||
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"
|
||||
SectionEnd
|
||||
|
Loading…
x
Reference in New Issue
Block a user