[Pythonmac-SIG] Tricky question?

Schollnick, Benjamin Benjamin.Schollnick at xerox.com
Tue Jun 14 18:43:05 CEST 2005


> >     Is there any way to gather a list of applications that 
> have been 
> > installed on the Macintosh....
> >  
> >     With the windows registry, we just look at the 
> uninstall tree.... It's not perfect, but that get's 95+% of the
packages....
> >  
> >   I can't think of any way to do this on the mac... Except....
> >  
> >     1) Os.path.Walk & check for .APP bundles....
> >  
> >   Anyone have a better suggestion?  This would have to 
> address all the connected hard drives....
> 
> Anything installed using Apple .pkg/.mpkg bundles will leave 
> a receipt in /Library/Receipts. (Maybe ~/Library/Receipts 
> too? I don't know.)

I forgot about that....  But that's quite true....

> However, most GUI apps won't install this way though. They 
> will just have been dragged from a disk image or something to 
> whereever the user wanted to install it. Typically this is 
> somewhere under /Applications, but could also be anywhere else.

I know....  I prefer this install method myself...  But it doesn't leave
any easy way to discover the install....

		- Benjamin


More information about the Pythonmac-SIG mailing list