[quote='866297022, premak, /thread/806222?answerId=866297022#866297022, /profile/premak'] Could you please help on how to call preinstall and postinstall scripts in the packages created using productbuild command? [/quote] I’m hardly an installer expert, but my understanding is that: You pass a components property list path to pkgbuild via the --component-plist argument. You reference your scripts from there via the BundlePreInstallScriptPath and BundlePostInstallScriptPath properties. See the Component Property List section within the pkgbuild man page. You then pass that package to productbuild to build the final signed flat package. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
Developer Tools & Services
SubTopic:
General
Tags: