site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=s30/faEoZybgJIDc8K23xw0IOCm0fDfgVaArgVEMwe8=; b=d9lT7JRVVi+f2tTT2hwf8r8W3WxLHZvGKcmZEiUYPnE0+nRhuZaj7eiFvkCB1XYC/0 gpYbAQmF3Icmn3kUr3ITcpCZiu6J5xMAFmTMQiSaUsTTjPDQbe6dHii/SRBsRpNmPBNy EgLJ1uU5y1H658al0gEsYsLpzBvyq9IZu96fM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=arBsWoxdF1MPRxGvykssogs9FI0f5GE03EU5bJsWSeE93yrjiW4xr2m9SjKEeXDQMd EjXgUHuaA0ZEpmUCl7xofDhaBTvBGng+MGhn76PLiCKdVjwXXCm1Iw4dlE6dPIeSi58t zWmUZLPFVeGKmFQhFXcdVYkOVoGvvQBG0lsp0= -nick -- Nick Peelman peelman@gmail.com On Jul 30, 2008, at 18:46, Stéphane Sudre wrote: 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. 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/peelman%40gmail.com _______________________________________________ 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... This email sent to site_archiver@lists.apple.com I did something similar when repackaging Adobe Reader 8, since it was not universal. Built a package for PPC and one for Intel, each with an InstallationCheck (i can't remember now if i used the script or just a package requirement from the GUI) and then put them into a Meta. The proper one got installed, the spare got ignored, everything was peachy. "Duct tape is like the force. It has a light side, a dark side, and it holds the universe together...." 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. - Package B: another package that requires restart and installs nothing. 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 peelman@gmail.com smime.p7s