The trick is using System.Reflection to expose hidden (private) properties of the PDFbox Page object. Program creates 1 image for each page of a PDF, computes word locations (if PDF is OCR'ed) then ...
You should have a Developer ID Installer identity from Apple in your Keychain. This is used to sign the package. If you don't have this identity the script will skip ...