Application Applicability Limitations

Iron Contributor

So my manager gave me a simple task on MECM current branch version 2207 namely deploy MS edge 120 our windows server estate. Some servers have edge some don’t. I thought this would be straight forward so I looked to create the following criteria or applicability rules for an application in MECM:

 

  • msedge.exe does not exist at its default location or
  • msedge.exe exists at default location and has a file version less then 120.0.0.0

So I was really surprised to be stumped immediately because as afar as I can tell there’s no way to do this! There does not appear to be any method to use a script for requirement criteria in application deployment and creating individual global conditions only appears to allow for AND logic between the criteria.

 

Is there  anyway to achieve this ? It seem so basic that I must be missing something. 

 

6 Replies
You can use PowerShell as the detection method. It should do what you want.

@Garth-MVP but would that not detect it as installed or not istalled.  My goal is applicability not detection. 

Isn't not installed the same as applicability in this case?
No not at all as if any other logic elsewhere triggers of installed then you cna get into a mess very quickly. WSUS implements all of this logic by having:

- Pre-req rules
- Applicabilty Rules
- Installed Rules

There is a very signficant difference in reporting Edge installed as opposed to Edge <veriosn> insatlled.
I don't agree that there will be a mess. if you write your script correctly everything will be fine.

It would be "easy" to create a script to match the conditions you have outline above. If the conditions are true, then this would indicate that the upgrade/install should happen. if not, the install will not install. Teh script will run before the install happen and therefore nothing will install unless the conditions within the script are meet.

@shocko 

Can't you achieve this with just a Detection Rule?

The detection rule would identify Edge as installed under the condition below:

James_Pedersen_0-1709042372777.png