Removed dependency of service on Browser. Browser isn't always

available and, if it's not, synergy won't start.  Users may have
to use an IP server address instead of a hostname since the
service may start before the service that resolves hostnames.
If I knew what that service was I'd depend on it instead.
This commit is contained in:
crs 2004-06-10 19:39:07 +00:00
parent 20bfb04886
commit f1dfc69d08
1 changed files with 2 additions and 2 deletions

View File

@ -199,12 +199,12 @@ CAutoStart::onInstall(bool allUsers)
// clear error message
m_errorMessage = "";
// install. depend on Browser
// install
try {
ARCH->installDaemon(m_name.c_str(),
m_isServer ? SERVER_DAEMON_INFO : CLIENT_DAEMON_INFO,
appPath.c_str(), m_cmdLine.c_str(),
"Browser\0", allUsers);
NULL, allUsers);
askOkay(m_hwnd, getString(IDS_INSTALL_TITLE),
getString(allUsers ?
IDS_INSTALLED_SYSTEM :