site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Op 25 nov 2007, om 21:04 heeft Stéphane Sudre het volgende geschreven: patrick _______________________________________________ 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: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... The problem I'm having now (only tested on 10.5.1) is that the Installer doesn't run my scripts. I can see that they are included in the package, they just never seem to be executed. The same seems to be true for the distribution action (get iPhoto and quit it); it never seems to run. It could be the usual mistakes with preinstall and postinstall scripts. They are only executed when the package is installed for the first time on the system (*). If you want this to be run for every installation, use preflight and postflight (**). Thank you for pointing me in the right direction! I'm slowly figuring it out... If you make a package that is compatible with 10.4 you must indeed use preflight and postflight, which still run on 10.5. The PackageMaker 3.0 'documentation' seems to suggest otherwise ("Important: In Mac OS X v10.5 clients, the only install operations available are preinstall and postinstall"), which put me on the wrong track. According to these same documents, if scripts are used "Installer also warns users that it’s about to execute unsecured code when they open the installation package". This (luckily!) doesn't seem to happen, at least when I run my installer package. What _does_ happen (and _isn't_ in the documentation): when I specify a pre- or post install 'action', the users must authorize as administrator (to be allowed to quit iPhoto, for heaven's sake). This is not what I want. All in all a Sunday afternoon wasted with, what should have been, a 5 minute job. This email sent to site_archiver@lists.apple.com