• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Uninstallation of plug-ins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uninstallation of plug-ins


  • Subject: Re: Uninstallation of plug-ins
  • From: Wayne Linder <email@hidden>
  • Date: Wed, 07 Jun 2006 17:00:31 -0600
  • Thread-topic: Uninstallation of plug-ins

Title: Re: Uninstallation of plug-ins
To get past the administrator rights, simply ask the user for it in your shell script:

# Get permission to do things as Root
echo
sudo -p "Please enter your Administrator password: " echo

and then do whatever you need with sudo, like this:

sudo rm -rf /Library/Receipts/InstallerCheck.pkg
sudo rm -rf /Library/Receipts/ApplicationFiles.pkg

# Flush & rebuild Extensions cache
sudo rm -rf /System/Library/Extensions.mkext
sudo rm -rf /System/Library/Extensions.kextcache
sudo touch /System/Library/Extensions

Wayne


From: Bill Coderre <email@hidden>
Date: Wed, 7 Jun 2006 15:42:53 -0700
To: Michael Ljunggren <email@hidden>
Cc: <email@hidden>
Subject: Re: Uninstallation of plug-ins


On Jun 6, 2006, at 2:13 AM, Michael Ljunggren wrote:
Coming from the Windows platform I am struck by this lack of uninstallation functionality

on OSX. It is certainly simpler to drag the app to the thrash, but my problem is not

an app, but a plug-in.

 
 
I could certainly write a shell script to search and remove the remaining bits, but it would

would be non-trivial when you need administrator rights. And if the user has to run a script

to uninstall our stuff, why would they need to "just drag the app to thrash" too?

 
 
And WHY should we write an extra add-on to the installation/uninstallation process when

the IN-stallation process works so excellent in the first place?

 
 
Anyway; what I was primarily asking was advice about this procedure. The end user must

come first. How to do this in a simple way?


The honest truth is, this functionality has always been missing from Mac OS X, and the "simplest" thing is to provide a shell script or AppleScript to go and delete everything, and ask for permissions first.

Yes, that sucks. Sorry.

Yes, Apple has heard about this many times, and has not as of yet provided any better solution. As an employee, I am forbidden from announcing any new functionality or any future plans. I think we all hope that Apple announces something about this at WWDC this year.

Until Apple announces something, all we can do on this list is agree that it sucks, and provide ideas for alternate solutions such as shell scripts or AppleScripts.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Uninstallation of plug-ins (From: Bill Coderre <email@hidden>)

  • Prev by Date: RE: How to do something (like launch an app) at the VERY end of an install?
  • Next by Date: Re: How to do something (like launch an app) at the VERY end of an install?
  • Previous by thread: Re: Uninstallation of plug-ins
  • Next by thread: How to do something (like launch an app) at the VERY end of an install?
  • Index(es):
    • Date
    • Thread