Changed (win NT) service to depend on the 'Browser' service to
ensure correct startup order.
This commit is contained in:
parent
62b5cefb64
commit
5a1650914a
|
@ -199,12 +199,12 @@ CAutoStart::onInstall(bool allUsers)
|
||||||
// clear error message
|
// clear error message
|
||||||
m_errorMessage = "";
|
m_errorMessage = "";
|
||||||
|
|
||||||
// install. depend on NetBT (NetBIOS over TCP/IP).
|
// install. depend on Browser
|
||||||
try {
|
try {
|
||||||
ARCH->installDaemon(m_name.c_str(),
|
ARCH->installDaemon(m_name.c_str(),
|
||||||
m_isServer ? SERVER_DAEMON_INFO : CLIENT_DAEMON_INFO,
|
m_isServer ? SERVER_DAEMON_INFO : CLIENT_DAEMON_INFO,
|
||||||
appPath.c_str(), m_cmdLine.c_str(),
|
appPath.c_str(), m_cmdLine.c_str(),
|
||||||
"NetBT\0", allUsers);
|
"Browser\0", allUsers);
|
||||||
askOkay(m_hwnd, getString(IDS_INSTALL_TITLE),
|
askOkay(m_hwnd, getString(IDS_INSTALL_TITLE),
|
||||||
getString(allUsers ?
|
getString(allUsers ?
|
||||||
IDS_INSTALLED_SYSTEM :
|
IDS_INSTALLED_SYSTEM :
|
||||||
|
|
Loading…
Reference in New Issue