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

Fix delete startmenu shortcuts x86

This commit is contained in:
towlie 2015-12-14 21:53:27 +01:00
parent ae1b9a11fd
commit 32eff2f4f5

View File

@ -9,7 +9,6 @@
!define COPYRIGHT "The Tox Project"
!define INSTALLER_NAME "setup-qtox.exe"
!define MAIN_APP_EXE "bin\qtox.exe"
!define INSTALL_TYPE "SetShellVarContext current"
!define REG_ROOT "HKLM"
!define REG_APP_PATH "Software\Microsoft\Windows\CurrentVersion\App Paths\qtox.exe"
!define UNINSTALL_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}"
@ -248,6 +247,7 @@ FunctionEnd
#################
#INSTALL
#################
SetShellVarContext all
Section "Install"
# Install files
${SetOutPath} "$INSTDIR"
@ -304,6 +304,7 @@ SectionEnd
#UNINSTALL
################
Section Uninstall
SetShellVarContext all
;If there's no uninstall log, we'll try anyway to clean what we can
IfFileExists "$INSTDIR\${UninstLog}" +3
Goto noLog