|
|
|
@ -273,6 +273,7 @@ Section "Install"
@@ -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
@@ -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" |
|
|
|
|