Re: How to replace old version of product?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcjVc515Y/ZuPTxWR2GWZKXmoO1spAAjgppQAAthoEE= Thread-topic: How to replace old version of product? User-agent: Microsoft-Entourage/12.10.0.080409 on 2008-06-24 9:53 AM, William J. Cheeseman at bill@cheeseman.name wrote:
It appears that 'touch' does not accomplish my goal.
Actually, touch -c "$2" does work, but only the first time I run it after shutting down the computer and restarting. If I then set up and run my installer AGAIN (that is, trash the newly-installed app, reinstall the old version, then re-run my installer), it does NOT work. Or, rather, it works only half way: it updates the Date Modified in the Finder window the second time, but it does not update the Version column or the version information that appears in the Finder Get Info window as it did the first time. Weird. I wonder if this has something to do with temporary caches remembering that the new version was installed once already during this session. If so, then maybe this is a reasonable solution for the typical installation scenario, where it gets installed only once. -- Bill Cheeseman - bill@cheeseman.name Quechee Software, Quechee, Vermont, USA www.quecheesoftware.com PreFab Software - www.prefabsoftware.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
participants (1)
-
Bill Cheeseman