summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-05-24 23:15:00 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2016-05-24 23:15:00 +0200
commitb6e826bac2e4d32985e4b90d782dd52d504f0f5b (patch)
tree6bdddf3f9f67e3cbb50396717e4504d185ae3614 /win
parentcee9ab9d85a8d75290b0d60bc7af26c8cf179a1d (diff)
downloadmariadb-git-b6e826bac2e4d32985e4b90d782dd52d504f0f5b.tar.gz
MDEV-10118 : do not suggest upgrade from MySQL 5.7 to MariaDB 10.x in the installer. Do not lauch upgrade wizard after installation
Diffstat (limited to 'win')
-rw-r--r--win/packaging/ca/CustomAction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/packaging/ca/CustomAction.cpp b/win/packaging/ca/CustomAction.cpp
index 3cb8520b65d..56df4ae791e 100644
--- a/win/packaging/ca/CustomAction.cpp
+++ b/win/packaging/ca/CustomAction.cpp
@@ -886,11 +886,11 @@ extern "C" UINT __stdcall CheckServiceUpgrades(MSIHANDLE hInstall)
(QUERY_SERVICE_CONFIGW*)(void *)config_buffer;
DWORD needed;
BOOL ok= QueryServiceConfigW(service, config,sizeof(config_buffer),
- &needed);
+ &needed) && (config->dwStartType != SERVICE_DISABLED);
CloseServiceHandle(service);
if (ok)
{
- mysqld_service_properties props;
+ mysqld_service_properties props;
if (get_mysql_service_properties(config->lpBinaryPathName, &props))
continue;
/*