Skip to main content
Question

Package Indexing

  • September 26, 2017
  • 6 replies
  • 18 views

Forum|alt.badge.img+2

What is the purpose of indexing a package in Casper Admin?

6 replies

Forum|alt.badge.img+17
  • Honored Contributor
  • September 26, 2017

It's for DMGs you want to uninstall later. I'd guess rarely used by most


Forum|alt.badge.img+3

Indexing will enable the uninstallation option for the package (.pkg and .dmg).
Background: indexing fetches the files information from the package and stores in the DB so that files can be removed during uninstallation. It’s not recommended to index the package until it is really necessary, as it dumps the file info in DB. Hence don’t index the package until you are going to uninstall it.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • September 27, 2017

@mkosigi Only for .DMGs not for .PKGs. While you have the option to index a .pkg in Casper Admin it is totally useless.


Forum|alt.badge.img+3

@Chris_Hafner oh! thanks for information.


Forum|alt.badge.img+6
  • Contributor
  • September 29, 2017

@Chris_Hafner @mkosigi Interesting - I was told in JAMF training that you could index pkg files for uninstallation but any files created or moved as a result of the scripts inside the package would not included. I have always assumed that to be the case but I have never used it or tested it.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • September 29, 2017

@nigelg @mkosigi WOW! OK, so I've JUST retested this and @nigelg IS CORRECT! I'm not sure when this changed because for years indexing .pkgs created with composer did nothing but I have just tested a quick uninstall of Firefox ESR, which was a .pkg created with Composer, Indexed and set to allow uninstallation in Casper Admin. I'm intrigued as to exactly when this happened.

P.S. As I suspected the flat .pkgs I tested as well as .pkg installers for things like Citrix, Flash etc don't do anything.