Re: Installing/distributing frameworks
Re: Installing/distributing frameworks
- Subject: Re: Installing/distributing frameworks
- From: Ondra Cada <email@hidden>
- Date: Sun, 29 Jul 2001 19:32:52 +0200
R.,
>
>>>>> R. Tony Goold (RTG) wrote at Sun, 29 Jul 2001 13:03:39 -0400:
RTG> I'm very curious to understand how this works... If I have
RTG> /Applications/Poodle.app containing Dog.framework 1.0 and
RTG> /Applications/Terrier.app containing Dog.framework 1.1, does this mean
RTG> the next time I run Poodle.app it will use Dog.framework 1.1 (from
RTG> Terrier.app) unless its code explicitly states that it only wants up to
RTG> 1.0?
It's a bit more complicated, but this is the gist of it.
RTG> Does this only apply to applications installed in the /Applications
RTG> (and /Developer/ Applications?) folders?
And some other locations, but yes: it applies only to the apps installed on
standard locations. It is *possible* though that the system updates the
tables whenever an unknown application is run, whatever path is resides at
(provided it's a local one) -- this I don't know.
RTG> If so, then it would be possible to write a script that, run as root,
RTG> copies the latest framework into /Library/Frameworks and removes it
(orRTG> replaces it with a stub) in all applications that do not restrict the
RTG> framework version (assuming this is easy to determine programmatically),
RTG> correct?
Yeah. But then you'll have to be kind of careful, for removing one
application might easily render twenty others unuseable ;)
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc