diff options
| -rw-r--r-- | dist-assets/installer.nsh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dist-assets/installer.nsh b/dist-assets/installer.nsh index a66278a2eb..0a0e7300da 100644 --- a/dist-assets/installer.nsh +++ b/dist-assets/installer.nsh @@ -144,7 +144,7 @@ Push $0 Push $1 - nsExec::ExecToStack '"$INSTDIR\resources\mullvad-daemon.exe" --install-service' + nsExec::ExecToStack '"$INSTDIR\resources\mullvad-daemon.exe" --register-service' Pop $0 Pop $1 @@ -197,13 +197,13 @@ Abort ${EndIf} -; ${InstallService} + ${InstallService} -; ${If} $R0 != 0 -; MessageBox MB_OK "Fatal error during service installation: $R0" -; ${BreakInstallation} -; Abort -; ${EndIf} + ${If} $R0 != 0 + MessageBox MB_OK "Fatal error during service installation: $R0" + ${BreakInstallation} + Abort + ${EndIf} Pop $R0 |
