Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(build): correct install script nsis for win64
Browse files Browse the repository at this point in the history
fix #4627
  • Loading branch information
PKEv committed Apr 28, 2018
1 parent 02d6c63 commit 25e6957
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions windows/qtox64.nsi
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ Section "Install"
${CreateShortCut} "$SMPROGRAMS\qTox\Uninstall qTox.lnk" "$INSTDIR\uninstall.exe" "" "" ""

# Write setup/app info into the registry
SetRegView 64
${WriteRegStr} "${REG_ROOT}" "${REG_APP_PATH}" "" "$INSTDIR\${MAIN_APP_EXE}"
${WriteRegStr} "${REG_ROOT}" "${REG_APP_PATH}" "Path" "$INSTDIR\bin\"
${WriteRegStr} ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayName" "qTox"
Expand Down Expand Up @@ -354,6 +355,7 @@ Section Uninstall
RMDir /r /REBOOTOK "$SMPROGRAMS\qTox"

;Remove registry keys
SetRegView 64
DeleteRegKey ${REG_ROOT} "${REG_APP_PATH}"
DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}"
DeleteRegKey HKCR "Applications\qtox.exe"
Expand Down

0 comments on commit 25e6957

Please sign in to comment.