From c3de934350e5dcdcee1191c5a0b65b59625f4515 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 19 Feb 2014 01:23:31 +0100 Subject: [PATCH] installer: uninstall JabRef also silently if necessary --- development/Win32/packaging/installer/setup/uninstall.nsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/development/Win32/packaging/installer/setup/uninstall.nsh b/development/Win32/packaging/installer/setup/uninstall.nsh index 38d3be841b..cc96d61387 100644 --- a/development/Win32/packaging/installer/setup/uninstall.nsh +++ b/development/Win32/packaging/installer/setup/uninstall.nsh @@ -126,6 +126,8 @@ Section "un.JabRef" un.SecUnJabRef ${If} $MultiUser.Privileges == "Admin" ${OrIf} $MultiUser.Privileges == "Power" ReadRegStr $1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef ${JabRefVersion}" "UninstallString" + IfSilent 0 +2 + ExecWait "$1 /S" # run JabRef's uninstaller ExecWait "$1" # run JabRef's uninstaller ${else} # in this case we can only read the start menu location and then start the linked uninstaller -- 2.39.5