Nuts and Bolts

MATLAB

  • New Munki 7 Feature : version_script

    Posted on 2 mins

    An interesting new Munki feature that came with the major release of version 7 is the version_script pkgsinfo key . I previously wrote about the use of an installcheck_script for MATLAB which stores it’s version information in a nonstandard location. While using an installcheck_script works for this, there are some limitations : The script needs to know the desired version (meaning this must be updated with each version) The script must contain the version comparison logic That second point is an important one.
  • Getting Version Info for MATLAB

    Posted on 2 mins

    It can be challenging to get accurate version information for MATLAB on macOS. The installer is not a package, so no package receipts to rely on. The next place we might logically look for version info is in the app bundle itself. <key>CFBundleVersion</key> <string>24.2.0</string> Well that at least looks promising… This is an example from an installation of MATLAB 2024b. The 24.x indicates 2024 and the x.2 indicates b version. The problem with this is that the full version of that app is 24.