Posted on 08-02-2011 06:43 PM
Does anyone know the difference between the two?
I'm struggling to work out if they actually run the script at a different time?
John
--
John Szaszvari
Network Manager | Monte Sant' Angelo Mercy College
Posted on 08-02-2011 06:52 PM
check this for some details. the order is listed in apple's docs, as well.
http://macadmins.psu.edu/2011presentations/PSUMAC208-Intro_to_Packaging-Rusty_Myers.pdf
Posted on 08-03-2011 07:07 AM
John,
My understanding is this: - Postflight: Runs at the end of the installation process, whether the Installer thought it was performing an upgrade or a new installation. - Postinstall: Runs at the en of the installation process, but only if it the Installer thought it was performing a new installation.
I use the same distinction for "preflight" versus "preinstall".
--
Bryan Vines
Systems Administrator
Watts | Guerra | Craft LLP
Posted on 07-21-2016 07:24 AM
Also, preflight/postflight scripts cannot be used with a flat .pkg