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:
commit
1f58e1c0af
2
windows/qtox64.nsi
Normal file → Executable file
2
windows/qtox64.nsi
Normal file → Executable 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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user