From 8fd55be3e0fc0073854975b995207d300fb5f6d9 Mon Sep 17 00:00:00 2001 From: Gilbertsoft <25326036+gilbertsoft@users.noreply.github.com> Date: Tue, 19 Nov 2019 01:22:35 +0100 Subject: [PATCH] Change silent uninstaller to not show any messages (for chocolatey) (#1944) --- winpkg/ddev.nsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/winpkg/ddev.nsi b/winpkg/ddev.nsi index 5b1b56dbd22..2feeaa9f5c7 100644 --- a/winpkg/ddev.nsi +++ b/winpkg/ddev.nsi @@ -1001,7 +1001,7 @@ Function un.onInit ; Load language !insertmacro MUI_UNGETLANGUAGE - MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES DoUninstall + MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES DoUninstall Abort DoUninstall: @@ -1015,7 +1015,7 @@ FunctionEnd */ Function un.onUninstSuccess HideWindow - MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." + MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK FunctionEnd /** @@ -1032,7 +1032,7 @@ Function un.mkcertUninstall ; Check if setup has done ${If} $0 == 1 ; Get user confirmation - MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "mkcert was found in this installation. Do you like to remove the mkcert configuration?" IDYES +2 + MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "mkcert was found in this installation. Do you like to remove the mkcert configuration?" /SD IDNO IDYES +2 Goto Skip MessageBox MB_ICONINFORMATION|MB_OK "Now running mkcert to disable trusted https. Please accept the mkcert dialog box that may follow."