mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
02d6c63aca
commit
25e69572f8
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