diff options
| author | crobibero <cody@robibe.ro> | 2020-06-13 15:06:07 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-13 15:06:07 -0600 |
| commit | 39376bace33a13e225647de174269b2e61ec5a1e (patch) | |
| tree | ebc439885ad63f7936bde81deb2c04227cb81e54 /windows/helpers/ShowError.nsh | |
| parent | 6c53e36ccf1f27defae6faa5791598258bc604ab (diff) | |
| parent | 0011e8df47380936742302ef40639a4626a780ed (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks
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 |
