summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOdd Stranne <odd@mullvad.net>2018-05-02 11:23:43 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-06-08 11:13:02 +0200
commit0ae7d0cfe32a6892774a5487afa8f8a040ae4581 (patch)
treea7cb909ee6eb1e89113874ec52385baaa73fdc05
parentfeb13588c681cb8b76b3eafdb72986afde48f7dd (diff)
downloadmullvadvpn-0ae7d0cfe32a6892774a5487afa8f8a040ae4581.tar.xz
mullvadvpn-0ae7d0cfe32a6892774a5487afa8f8a040ae4581.zip
Restore service registration and activation
-rw-r--r--dist-assets/installer.nsh14
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