Skip to main content
Question

Possible to make a .pkg re-installable without deleting the receipt?

  • April 3, 2018
  • 0 replies
  • 4 views

Forum|alt.badge.img+17

Hi All,
Wondering if anyone has info regarding packages and receipts. I have a few packages that users may want to reinstall for whatever reason, and typically I'd have to run a

sudo pkgutil --forget name.of.package

as a script before running the .pkg. This is fine in most cases, but I sometimes forget to add it or it's not an option to add a script (Patch policies...) so then things sorta fall apart...

Is there a flag/option/setting to force a package to always reinstall even if there's an existing receipt for it?

Thanks!
Matt