I have tried changing version_comparison_key to CFBundleVersion.(which is a unique string) in the Installs array
On Mar 23, 2026, at 8:05 AM, lorisarvendu <lorisa...@gmail.com> wrote:
I have version 2026.1.0 of an app installed, and v.2026.1.4 has been released. When I try to deploy it, Munki only uses the CFBundleShortVersion, which is 2026.1 in both cases, so detects it as already installed. I have tried changing version_comparison_key to CFBundleVersion.(which is a unique string) in the Installs array but no go. Is this a limitation of Munki or am I missing something? Munki client version is 7.0.1.5340
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/a4972b8c-94f8-4857-83fd-aeebd1a8ff5an%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/0971c0da-33bb-433b-9f86-95b8f3ebb496n%40googlegroups.com.
$ swift repl
Welcome to Apple Swift version 6.2.4 (swiftlang-6.2.4.1.4 clang-1700.6.4.2).
Type :help for assistance.
1> "8996f427a8f1cabe130c73907074478369bfeb23" > "9518b3bc2c4deafd6e9e915bc94d5f7e6ea1e7a3"
$R0: Bool = false
2>
$ munki-python
Python 3.12.2 (v3.12.2:6abddd9f6a, Feb 6 2024, 17:02:06) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> "8996f427a8f1cabe130c73907074478369bfeb23" > "9518b3bc2c4deafd6e9e915bc94d5f7e6ea1e7a3"
False
>>> from munkilib.pkgutils import MunkiLooseVersion
>>> MunkiLooseVersion("8996f427a8f1cabe130c73907074478369bfeb23") > MunkiLooseVersion("9518b3bc2c4deafd6e9e915bc94d5f7e6ea1e7a3")
False
>>>
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/0971c0da-33bb-433b-9f86-95b8f3ebb496n%40googlegroups.com.