Uninstaller for Mac OSX Application

Markus Hitter mah at jump-ing.de
Mon Oct 8 02:59:55 PDT 2007


Am 08.10.2007 um 00:19 schrieb Chad Armstrong:

> But it definitely does seem like a glaring hole that an uninstaller  
> wasn't also included.

... especially, as all the prerequisites are there already.

> Is it possible to use Apple's installer program to create a script  
> which will just uninstall the application?

Get started with

   lsbom -s -f /Library/Receipts/MyPackage.pkg/Contents/Archive.bom
   lsbom -d /Library/Receipts/MyPackage.pkg/Contents/Archive.bom


Another approach is to create an update installer which upgrades to  
zero files and removes it's self in the postinstall script. I've seen  
it with one of the ghostscript packages (at linuxprinting.org?).


> Otherwise, installing applications that don't also include an  
> uninstaller makes me suspicious and weary.

Just yesterday I removed some 20 GB of automatically downloaded  
upgraders and installers which filled up about 50% of the main hard  
drive. All belonging to software of three big manufacturers.

Obviously, your company is small enough to take better care of such  
details. Congratulations.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/






More information about the MacOSX-dev mailing list