I have an OSX flat package being built using a combination of pkgbuild and packagebuild. I need to add a new page in the UI for gathering a small amount of data from the user - a key. And I'm not entirely sure how to accomplish this.
I've read older articles/threads that discuss the use of Cocoa-based installer plugins, link to sample code that's long since disappeared, and offer up pointers on using PackageMaker to accomplish this, a tool which has fallen out of favor. I've yet to find any discussion on how to bundle plugins using nothing more than pkgbuild and/or packagebuild.
I can build an installer plugin using Xcode. That seems to work ok. But I'm not entirely sure how to get it into the package after it's built. Does anyone know how this might be accomplished?
It's probably worth noting that I need an approach that's scriptable (for CI).