I have a build target set up in my Xcode project to create a package from a number of other targets. I added a build phase script that simply runs productbuild, which can automatically detect just about everything needed for my install:
productbuild \
--root "$INSTALL_ROOT" \
--identifier "$PRODUCT_BUNDLE_IDENTIFIER" \
"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.pkg"
This package works great functionally, but when I open it, the Installer.app is missing a name for it:

The window title should say "Install {Useful App}" and the little label below that should say "Welcome to the {Useful App} Installer".
How do I give my installer package a name/title for the UI? Can I do it while still using the --root option, or do I need to synthesize and then forever manually maintain a distribution file?
Use
titleas described in the Distribution Definition XML Schema Reference.