From 7f8352be8f35c8bf94b259796608e283af6cd5d6 Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Sat, 8 May 2021 15:43:41 +0200 Subject: [PATCH] Removed uninstall check messagebox, causes problems with Chocolatey. --- artifacts_win.nsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/artifacts_win.nsi b/artifacts_win.nsi index bfa5427..36ac22f 100644 --- a/artifacts_win.nsi +++ b/artifacts_win.nsi @@ -90,10 +90,12 @@ SectionEnd function un.onInit SetShellVarContext all - #Verify the uninstaller - last chance to back out - MessageBox MB_OKCANCEL "Permanantly remove ${APPNAME}?" IDOK next - Abort - next: + # Verify the uninstaller - last chance to back out + # (commented this out, it causes problems with Chocolatey.) + # MessageBox MB_OKCANCEL "Permanantly remove ${APPNAME}?" IDOK next + # Abort + # next: + functionEnd # Uninstaller