This commit helps the occurence of duplicate Windows Update's getting queued and causing Windows Update to refuse to do windows update work. We add logic to find and skip duplicate Windows Updates.
Orginal PR
This PR detects when an update is attempted to be installed which equal the same update by its title. We do this by comparing what is currently in the install object, using the update title and skip the update it if we find it already in the object. This stops the HRESULT: 0x80240013 which is, as far as I know, when a duplicate update is attempted to be installed at the same time.
This commit helps the occurence of duplicate Windows Update's getting queued and causing Windows Update to refuse to do windows update work. We add logic to find and skip duplicate Windows Updates.
Orginal PR This PR detects when an update is attempted to be installed which equal the same update by its title. We do this by comparing what is currently in the install object, using the update title and skip the update it if we find it already in the object. This stops the HRESULT: 0x80240013 which is, as far as I know, when a duplicate update is attempted to be installed at the same time.
Resolves https://github.com/rgl/packer-plugin-windows-update/issues/131