Re: preflight script with productbuild
Use pkgbuild to create a component pkg with your _preinstall_ script (pre_flight_ scripts are no longer supported). Then use productbuild to build a distribution pkg containing your component pkg. -Greg On Mar 20, 2015, at 12:02 PM, Eric Gorouben <gorouben@gmail.com> wrote:
Hi there
I try to include a preflight script (a shell script that sudo removes obsolete files...) to my product archive. I build the archive using productbuild and a xml distribution definition file, and I can't find the correct way. Did anyone successfully achieve this?
Thanks in advance Eric Gorouben
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle