Re: installation with system restart in 10.4, but not in 10.5
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Jul 30, 2008, at 8:48 AM, Guoliang Li wrote: Create a metapackage with 2 packages: - Package A: your package that does not require restart. - Package B: another package that requires restart and installs nothing. My $0.02 _______________________________________________ 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... hi, my package need to be installed with system restart in 10.4, but not in 10.5, can someone give me a solution for this kind of issue? Thanks. Best wishes. AndrewLi I have a stupid solution for this one if you can use a metapackage instead of just a package. In Package B, use an InstallationCheck script that will return 64 if the OS is Mac OS X 10.5 or later, 0 otherwise. It might be useful to also add a postflight script to delete this package receipt after installation (or remove it from the sqlite3 receipts data base on Leopard using the tool and option mentioned in a recent post (this will prevent this package from being discarded because it's already installed ). Depending on whether you use a distribution script or a good old metapackage, you might be able to hide the fact that it's a metapackage to the user or you can set Package B to be required. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre