This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Third Party Update keeps installing

I am trying to push out Powershell 4.0 using Patch Manager.  I have created both a x64 and an x86 package and delpoyed it to my endpoints.  This seems to work fine.  However, once it installs, next time you check for updates, it shows the same Powershell 4.0 packagae to be installed.  Click install, reboot, and happens again. 

Gets me stuck in an endless loop.  I am guessing this has to do with the 'Installed' option in the package creation.  Most of my workstation endpoints were running Powershell v 2.0 which had a file version of 6.1...something.  Powershell 4 has a file version of 6.3.something.  I am talking about c:\windows\sytem32\windowspowershell\v1.0\powershell.exe.  For the install requirement I put in if the file version is less than 6.3.

Do I have my logic flipped? What is the install rule meant to be?  Install this if or if this rule is true, the update is already installed???

Thanks in advance

sb

  • Hi Stephen,

    Basically you need to provided two information to the package,

    1. To check if the application can be installed (Applicability Rules)

    2. To check if the application is installed (Installed Rules)

    In Applicability Rules you need to provide the info as mentioned,

    c:\windows\sytem32\windowspowershell\v1.0\powershell.exe. File  less than 6.3 (try to provide full file version 6.3.xxx.xxx)

    In Installed Rules you need to provide,

    c:\windows\sytem32\windowspowershell\v1.0\powershell.exe.. File version equal to 6.3 (try to provide full file version 6.3.xxx.xxx)

  • Typically you'd define 3 rulesets for each package:   Prerequisite, Applicability, and Installed rules.

    • Prerequisite rules are basically used to 'weed-out' machines at a high level.  The rules there must evaluate as True for the target machine to accept the update as "Applicable".   Typically the rules here would be things like "must be English language" or "must be at least Windows verson X service pack Y", or "must have an x64 processor", etc...     If the net value of the ruleset here is False, the update is considered to be Not Applicability and it doesn't even finish evaluating the other rulesets.

    • Applicability rules typically dive a little deeper.  These will check things like file versions or registry values, and the rules here still have to evaluate as True for the update to be considered Applicable.   This ruleset serves a couple of important functions:  it keeps you from overwriting later versions of the application and also keeps it from installing over and over.   Most commonly this is accomplished by a file version check that makes sure that IF the application is already there that the version of what's there is LESS THAN the version your package is now trying to install..


    • Installed rules basically just recognize that this particular update is already installed and reports that info back to WSUS.  Often this rule will be almost identical to the Applicability rule...for a file version check, for example, the main change would be that this one would be 'equal to' instead of 'less than'.  Installed Rules do not have a direct bearing on whether this update is considered to be Applicable.