Quantcast
Channel: Wsus Package Publisher
Viewing all articles
Browse latest Browse all 3825

New Post: Operators: "AND" & "OR"

$
0
0
This is an example "Is Installable" rule (Change the version number to feet to the release you deploy) :

IsInstallableRule

This mean :

If
{ Processor is x86
And
The file C:\Program Files (x86)\Adobe\Shockwave\ShockWave.exe EXIST
And
The version of the file C:\Program Files (x86)\Adobe\Shockwave\ShockWave.exe is LESS than 11.4.3.486
}
OR
{ Processor is x64
And
The file C:\Program Files\Adobe\Shockwave\ShockWave.exe EXIST
And
The version of the file C:\Program Files (x86)\Adobe\Shockwave\ShockWave.exe is LESSthan 11.4.3.486
}
End If


You can, also, copy/paste this text into a new text file :
<lar:Or>
<lar:And>
<bar:Processor Architecture="0"/><bar:FileExists Path="C:\Program Files (x86)\Adobe\Shockwave\ShockWave.exe"/><bar:FileVersion Path="C:\Program Files (x86)\Adobe\Shockwave\ShockWave.exe" Comparison="LessThan" Version="11.4.3.486"/></lar:And>
<lar:And>
<bar:Processor Architecture="9"/><bar:FileExists Path="C:\Program Files\Adobe\ShockWave\ShockWave.exe"/><bar:FileVersion Path="C:\Program Files\Adobe\Shockwave\ShockWave.exe" Comparison="LessThan" Version="11.4.3.486"/></lar:And>
</lar:Or>
rename the file into : ShockWave.rules, and import it into WPP.

Viewing all articles
Browse latest Browse all 3825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>