aboutsummaryrefslogtreecommitdiff
path: root/deployment/windows/helpers/ShowError.nsh
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-09-09 23:40:51 +0200
committerAnthony Lavado <anthony@lavado.ca>2019-09-09 17:40:51 -0400
commit2f2010ce59814b1358386ea5c2fb29be6d31b550 (patch)
treec86c72b49e860d0d07bbd7d5cefd59d22c0a599f /deployment/windows/helpers/ShowError.nsh
parente6a14077862aa305461f9b8b2bbe122698929f98 (diff)
NSIS improvements (#1692)
* Much better, but still broken It crashes with two custom pages after one another. (So when the service should be installed). * Fixed the problems and finished the NSIS installer. Also ignored some of the artifacts. * Added changes to CI for setup building. Consolidate building and fixed git error. Small CI fixes. Move UX repo to SourcesDirectory Fix stupid checkout <> clone error. Fix typo in PowerShell command. Artifact publish tasks can not have wildcards.
Diffstat (limited to 'deployment/windows/helpers/ShowError.nsh')
-rw-r--r--deployment/windows/helpers/ShowError.nsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/deployment/windows/helpers/ShowError.nsh b/deployment/windows/helpers/ShowError.nsh
new file mode 100644
index 000000000..6e09b1e40
--- /dev/null
+++ b/deployment/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