diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-05-03 01:04:19 -0400 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-05-03 01:04:19 -0400 |
| commit | 1c06111497f0ecfa6ca374599b5641601b004077 (patch) | |
| tree | 8d83bd03b76f87f429ab82a54fd73bc029eae6f0 /windows/helpers/ShowError.nsh | |
| parent | 7e467f9faa18168ddff0607751f3929e4e3e0285 (diff) | |
| parent | 2bf3dee4c4fe56537c542bcc0c9df562552fb74d (diff) | |
Merge remote-tracking branch 'upstream/master' into integration-tests
Diffstat (limited to 'windows/helpers/ShowError.nsh')
| -rw-r--r-- | windows/helpers/ShowError.nsh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/windows/helpers/ShowError.nsh b/windows/helpers/ShowError.nsh new file mode 100644 index 000000000..6e09b1e40 --- /dev/null +++ b/windows/helpers/ShowError.nsh @@ -0,0 +1,10 @@ +; Show error +!macro ShowError TEXT RETRYLABEL + MessageBox MB_ABORTRETRYIGNORE|MB_ICONSTOP "${TEXT}" IDIGNORE +2 IDRETRY ${RETRYLABEL} + Abort +!macroend + +!macro ShowErrorFinal TEXT + MessageBox MB_OK|MB_ICONSTOP "${TEXT}" + Abort +!macroend |
