diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-04-30 00:55:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 00:55:38 +0300 |
| commit | 655a3ac54b9e3324aab2f81db95241626e6890a9 (patch) | |
| tree | b2ff47f2aff11a816e24832dc9c30f4eca36ad1b /windows/helpers/ShowError.nsh | |
| parent | 690fb65cd89d619cab168a871cbdfdfd12120009 (diff) | |
| parent | 8c9604afba027baed71ad5f0775679228869f079 (diff) | |
Merge pull request #2656 from joshuaboniface/improve-builds
Improve builds
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 |
