From 32eff2f4f592b1ec4994a20bd794f35fb32cecee Mon Sep 17 00:00:00 2001 From: towlie Date: Mon, 14 Dec 2015 21:53:27 +0100 Subject: [PATCH] Fix delete startmenu shortcuts x86 --- windows/qtox.nsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/qtox.nsi b/windows/qtox.nsi index e2c92be98..f7c02b79b 100644 --- a/windows/qtox.nsi +++ b/windows/qtox.nsi @@ -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