JetBrains NSIS installers write the build number (e.g. 252.28238.7) as the registry DisplayVersion, while the winget PackageVersion is the marketing version (e.g. 2025.2.5). The auto-generated patch policy compared osquery's programs.version (build number) against the marketing version, so up-to-date installs always failed the policy and queued unnecessary reinstalls. Opt the 12 JetBrains IDE FMAs into use_display_version_for_patch so the patch policy compares against the build number published in the winget manifest's AppsAndFeaturesEntries. JetBrains Toolbox is excluded: its manifest has no DisplayVersion and it is not affected. Fixes #47478
15 lines
667 B
JSON
15 lines
667 B
JSON
{
|
|
"name": "PyCharm Professional",
|
|
"slug": "pycharm/windows",
|
|
"package_identifier": "JetBrains.PyCharm.Professional",
|
|
"unique_identifier": "PyCharm",
|
|
"exists_query": "SELECT 1 FROM programs WHERE name LIKE 'PyCharm %' AND name NOT LIKE 'PyCharm Community Edition%' AND publisher = 'JetBrains s.r.o.';",
|
|
"use_display_version_for_patch": true,
|
|
"install_script_path": "ee/maintained-apps/inputs/winget/scripts/pycharm_install.ps1",
|
|
"uninstall_script_path": "ee/maintained-apps/inputs/winget/scripts/pycharm_uninstall.ps1",
|
|
"installer_arch": "x64",
|
|
"installer_type": "exe",
|
|
"installer_scope": "machine",
|
|
"default_categories": ["Developer tools"]
|
|
}
|