1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5103

pkev (1):
      fix(build): correct install script nsis for win64
This commit is contained in:
sudden6 2018-05-16 19:49:24 +02:00
commit 1f58e1c0af
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

2
windows/qtox64.nsi Normal file → Executable file
View File

@ -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"
@ -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"