Custom WQL global condition causing issues

I created a custom Global Condition, that is causing my application to fail to install, with an error code of 0x80041005(-2147217403)  With out this requirement the application will install as intended.  The condition is:

Setting Type: WQL query
Data Type: Boolean

Namespace: root\cimv2
Class: Win32_QuickFixEngineering
Property: HotFixID

WQL query WHERE clause: HotFixID='KB2919355'

Using powershell I get the following on one of the test computers:

PS C:\Users\Administrator> $hotfix = "Select hotfixid from Win32_QuickFixEngineering where hotfixid='KB2919355'"
PS C:\Users\Administrator> Get-WmiObject -query $hotfix


__GENUS          : 2
__CLASS          : Win32_QuickFixEngineering
__SUPERCLASS     :
__DYNASTY        :
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
HotFixID         : KB2919355
PSComputerName   :

In the Requirement of the application I made the Operator: Equals and the Value: True.  When I simulate the deployment they are not, part of the "Requirements Not Met" tab, so I assume the requirement is working, but it is still failing.

Any sugestions?

May 12th, 2014 2:49pm

What does AppEnforce.log tell?
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2014 3:02pm

The only thing in the AppEnforce.log is the following:

+++ Starting Install enforcement for App DT "App_Name - Windows app package (*.appx, *.appxbundle)" ApplicationDeliveryType - ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd, Revision - 7, ContentPath - C:\Windows\ccmcache\1, Execution Context - User	AppEnforce	5/12/2014 9:58:12 AM	3848 (0x0F08)
    A user is logged on to the system.	AppEnforce	5/12/2014 9:58:12 AM	3848 (0x0F08)
Working with Package: 9956fdfa-a8c1-4312-b10d-8417a5fbe21b_1.0.0.1_neutral__y0688jx4qd06g	AppEnforce	5/12/2014 9:58:12 AM	3848 (0x0F08)
+++ Application enforced successfully. [App : 9956fdfa-a8c1-4312-b10d-8417a5fbe21b]	AppEnforce	5/12/2014 9:58:22 AM	3848 (0x0F08)
+++ AppX Install Info added. [AppDT Id: ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd]	AppEnforce	5/12/2014 9:58:22 AM	3848 (0x0F08)
++++++ App enforcement completed (9 seconds) for App DT "App_Name - Windows app package (*.appx, *.appxbundle)" [ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd], Revision: 7, User SID: (Removed)] ++++++	AppEnforce	5/12/2014 9:58:22 AM	3848 (0x0F08)

And this if from my testing of removing the requirement. the push prior and after this with the custom requirement do not show in the log.

Edit: not sure if it matters, but in the Error tab of the Deployment Status, under category it is listing Evaluation Failed.

  • Edited by Evers_mark Monday, May 12, 2014 3:35 PM
May 12th, 2014 3:20pm

I am seeing this in the AppIntentEval.log every time I attempt to deploy the application with the Custom Global condition.

No dependencies for DeploymentType ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd/11.	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
No dependencies for DeploymentType ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_dec8eb4c-e543-4a39-92a3-e0ca943f49c8/2.	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
Evaluating Application policies for (Removed)	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
Rejecting ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/RequiredApplication_1876a49f-4da8-4454-8d5c-8095251c32fc/11 due to evaluation error	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd/11 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = App_Name - Windows app package (*.appx, *.appxbundle)	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_dec8eb4c-e543-4a39-92a3-e0ca943f49c8/2 :- Current State = NotInstalled, Applicability = NotApplicable, ResolvedState = None, ConfigureState = NotNeeded, Title = Old_App - Windows app package (*.appx, *.appxbundle)	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/Application_1876a49f-4da8-4454-8d5c-8095251c32fc/11 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = App_Name	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/RequiredApplication_1876a49f-4da8-4454-8d5c-8095251c32fc/11 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy	AppIntentEval	5/12/2014 1:36:31 PM	2628 (0x0A44)
No dependencies for DeploymentType ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd/11.	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
No dependencies for DeploymentType ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_dec8eb4c-e543-4a39-92a3-e0ca943f49c8/2.	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
Evaluating Application policies for (Removed)	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
Rejecting ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/RequiredApplication_1876a49f-4da8-4454-8d5c-8095251c32fc/11 due to evaluation error	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_14694d25-3c2e-4d69-84ce-29bfb37abffd/11 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = App_Name - Windows app package (*.appx, *.appxbundle)	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/DeploymentType_dec8eb4c-e543-4a39-92a3-e0ca943f49c8/2 :- Current State = NotInstalled, Applicability = NotApplicable, ResolvedState = None, ConfigureState = NotNeeded, Title = Old_App - Windows app package (*.appx, *.appxbundle)	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/Application_1876a49f-4da8-4454-8d5c-8095251c32fc/11 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = App_Name	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)
ScopeId_F79D5897-0BDA-46D4-8021-140E88B338D5/RequiredApplication_1876a49f-4da8-4454-8d5c-8095251c32fc/11 :- Current State = Error, Applicability = Unknown, ResolvedState = None, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy	AppIntentEval	5/12/2014 1:39:20 PM	1508 (0x05E4)


  • Edited by Evers_mark Monday, May 12, 2014 7:30 PM
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2014 7:28pm

Yes, I know this is an old post, but Im trying to clean them up. Did you solve this problem, if so what was the solution?

March 14th, 2015 2:28pm

Since no one has answer this post, I recommend opening  a support case with Microsoft Customer Support Services (CSS) as they can work with you to solve this problem.

Free Windows Admin Tool Kit Click here and download it now
August 1st, 2015 3:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics