diff --git a/src/ui/fortmanager.cpp b/src/ui/fortmanager.cpp index b724eb8b..bf7f9011 100644 --- a/src/ui/fortmanager.cpp +++ b/src/ui/fortmanager.cpp @@ -304,7 +304,7 @@ bool FortManager::installDriver() IoC()->reinstallDriver(); if (hasService) { - StartupUtil::startService(); + StartupUtil::setServiceInstalled(); } else { // Re-open the driver device and initialize it if (setupDriver()) { diff --git a/src/ui/util/startuputil.h b/src/ui/util/startuputil.h index d171a161..92334308 100644 --- a/src/ui/util/startuputil.h +++ b/src/ui/util/startuputil.h @@ -13,7 +13,7 @@ public: static const wchar_t *serviceName(); static bool isServiceInstalled(); - static void setServiceInstalled(bool install); + static void setServiceInstalled(bool install = true); static bool isServiceRunning();