Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 9fe3ebefddfacb8e2646dd1e9b4d2645a46fa020
https://github.com/tribe29/checkmk/commit/9fe3ebefddfacb8e2646dd1e9b4d2645a…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M agents/wnx/install/Product.wxs
A agents/wnx/install/resources/execute_update.cmd
M agents/wnx/src/engine/cfg.cpp
M agents/wnx/src/engine/cfg.h
M agents/wnx/src/engine/groups.cpp
M agents/wnx/src/engine/install_api.cpp
M agents/wnx/src/engine/install_api.h
M agents/wnx/src/engine/on_start.cpp
M agents/wnx/src/main/check_mk_service.cpp
M agents/wnx/watest/test-install-auto.cpp
Log Message:
-----------
[CMK-6957] - use external script to install msi
Sometimes Windows Race condition or NTFS locking may prevent installation. During update
it may lead to full deinstallation of the Agent. To prevent such kind of fehler the script
checks the status of the service and retries installation. Pause between retriess is 5
seconds, num of retries is 3.
- clean tests
- full tests
- change API to get better diagnostics and checkable test results.
- add two log entries to Windows event for service.
Change-Id: Idc2e30d4e567b676ed7a4f7673e723ebfa8e39d7