Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/packages/teleterm/build_resources/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# https://nsis.sourceforge.io/EnVar_plug-in

!macro customInstall
# Make EnVar define user env vars instead of system env vars.
EnVar::SetHKCU
# Make EnVar define system env vars since Connect is installed per-machine.
EnVar::SetHKLM
EnVar::AddValue "Path" $INSTDIR\resources\bin

nsExec::ExecToStack '"$INSTDIR\resources\bin\tsh.exe" vnet-install-service'
Expand All @@ -25,7 +25,7 @@
!macroend

!macro customUnInstall
EnVar::SetHKCU
EnVar::SetHKLM
# Inside the uninstaller, $INSTDIR is the directory where the uninstaller lies.
# Fortunately, electron-builder puts the uninstaller directly into the actual installation dir.
# https://nsis.sourceforge.io/Docs/Chapter4.html#varother
Expand Down
Loading