I am installing a custom .exe I made that installs a MS hotfix using DISM. However, the delivery method I am attempting is WSUS through Patch Manager is not working. Here are my app and installed rules. When I remove the file version rule, they start working.
The end goal is to detect if a KB is installed from the WMI, and then make sure the file version of the dll is one that is affected in the KB.
Any ideas?
The wsus log shows WARNING: Failed to evaluate Installable rule, updateID={updateid} .1, hr = 80070002
I have expired all previous versions in between attempts and created a copy of the update and published it just in case. Permissions on the file "c:\windows\system32\advapi.dll are the same on all computers. All target OS's are Server 2008 R2 SP1 datacenter.
-<sdp:ApplicabilityRule SchemaVersion="1.0">-<lar:And> <bar:WmiQuery Namespace="root\cimv2"WqlQuery="select * from Win32_QuickFixEngineering where HotFixID="KB2775511""/> <bar:FileVersion Path="C:\Windows\System32\advapi32.dll"Csidl="0"Comparison="EqualTo"Version="6.1.7601.22137"/> </lar:And>
</sdp:ApplicabilityRule>
-<sdp:InstalledRule SchemaVersion="1.0">-<lar:And> <bar:WmiQuery Namespace="root\cimv2"WqlQuery="select * from Win32_QuickFixEngineering where HotFixID="KB2878378""/> <bar:FileVersion Path="C:\Windows\System32\advapi32.dll"Csidl="0"Comparison="EqualTo"Version="6.1.7601.22477"/> </lar:And>
</sdp:InstalledRule>