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

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

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