diff options
| author | Odd Stranne <odd@mullvad.net> | 2018-05-02 11:23:43 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-06-08 11:13:02 +0200 |
| commit | 0ae7d0cfe32a6892774a5487afa8f8a040ae4581 (patch) | |
| tree | a7cb909ee6eb1e89113874ec52385baaa73fdc05 /dist-assets | |
| parent | feb13588c681cb8b76b3eafdb72986afde48f7dd (diff) | |
| download | mullvadvpn-0ae7d0cfe32a6892774a5487afa8f8a040ae4581.tar.xz mullvadvpn-0ae7d0cfe32a6892774a5487afa8f8a040ae4581.zip | |
Restore service registration and activation
Diffstat (limited to 'dist-assets')
| -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 |
