Skip to content

Commit

Permalink
Change silent uninstaller to not show any messages (for chocolatey) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft authored and rfay committed Nov 19, 2019
1 parent be4f010 commit 8fd55be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions winpkg/ddev.nsi
Expand Up @@ -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:
Expand All @@ -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

/**
Expand All @@ -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."
Expand Down

0 comments on commit 8fd55be

Please sign in to comment.