Detection Method #260
Labels
Area-Matching
Issue related to correlation between installed package and manifest
Issue-Feature
This is a feature request for the Windows Package Manager client.
Description - Add a detection method property similar to SCCM.
Software packagers do all kinds of dumb things that require custom detection.
Proposed technical implementation details
Detection Script
Include an optional "DetectionScript" field in your package manifest that accepts a PowerShell script that returns a valid semantic version if it is installed, and Null or Empty string if it is not. The script can look at file versions and other places indicative of the actual installed version of the software.
Add regex and version capture support to the name field
For software that places its version in DisplayName and not DisplayVersion, allow a regex pattern to capture the version. I've seen a lot of LOB apps do this. For a DisplayName of "My Ancient LoB Soft Pro 18.7.123" the regex pattern could be "My Ancient LoB Soft Pro (\d+.\d+.\d+)"
The text was updated successfully, but these errors were encountered: