site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AclBIVmdxZ8BebcBT6uOqNIRl5053Q== Thread-topic: Installing same version twice User-agent: Microsoft-Entourage/12.14.0.081024 We just recently implemented something similar here to make sure they wouldn't be able to downgrade. I couldn't figure out a way to do it with meta-packages so we moved to Distribution Scripts. You can programmatically select and de-select items with it. The only downside is you install will not work on anything before Tiger. Adam On 07/11/08 2:37 PM, "Matt Slot" <fprefect@ambrosiasw.com> wrote:
On Nov 7, 2008, at 3:25 PM, Adam Peck wrote:
You could add the logic into your pre/postupgrade scripts to check to see if the version is different. This would of course depend on when the receipt is modified.
Yes, I can detect when the version I'm about to install is identical, but what can I do in the preupgrade script to prevent it from actually overwriting those files? Is there a flag or setting I'm not seeing?
I *could* use an InstallCheck script, but I only want to prevent one component from being overwritten, and not the whole install.
Matt Slot / Bitwise Operator / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.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