Werk #5265: cmk-update-agent: Enable Agent Updater to update itself on Windows

KomponenteAgent Bakery
Titelcmk-update-agent: Enable Agent Updater to update itself on Windows
Datum2017-12-11 14:12:00
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.4.0p21,1.5.0i2
LevelProminent Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

When triggering an update under Windows, the agent updater could not be replaced by its new downloaded version because it was still running from the corresponding file.

This situation is now mitigated by restarting the agent updater from within ../temp when running from plugins-dir.

This is relevant only for a manual execution of cmk-update-agent.exe