Werk #10188: Windows Agent: Fix possible update / downgrade problems

Component Checks & agents
Title Windows Agent: Fix possible update / downgrade problems
Date Sep 26, 2019
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously Windows Agent used only the file timestamp to determine whether the file have to be reinstalled. This may lead to impossibility to update the file if for some reason the file timestamp was wrong(downgrade, invalid time).

Now Windows Agent compares file content too. If content mismatches, then the file should be installed even if timestamp is ok.

To the list of all Werks