ryanramage / couchapp-takeout

DEPRECATED - a couchapp installer.
Apache License 2.0
22 stars 2 forks source link

Uninstall Menu Item #12

Open ryanramage opened 13 years ago

ryanramage commented 13 years ago

The uninstall user experience has to be improved.

Add another menu item in the tray menu, with the entry 'Uninstall ${ProgramName}'. Clicking would launch the typical dialog of "Are you sure you want to uninstall". If yes, stop all child processes, remove the .couchapptakeout directory, and then give them the final step of instructions of removing from the control panel.

I am not sure I can programatically remove the complete application from this menu item, but I will investigate.

rwadholm commented 13 years ago

Here are a list of a couple of possible "hang out spots" for CouchDB on Mac that might need addressed in an uninstall:

LaunchDaemons (any Couch or Takeout related folders there)

/Library/Preferences (any Couch or Takeout related folders there)

//Library/Preferences (any Couch or Takeout related folders there)

//Library/Application Support/ (any Couch or Takeout related folders there)

//Library/Caches/ (an Couch or Takeout related folders there)

The app itself (wherever it has been installed, possibly in Downloads, or on the Desktop or in the User's folder or in Applications--many Mac users move apps to the Applications directory for ease of use down the road).

Not all of these places are going to be used by Takeout, but I thought I'd pass along likely places to look for stray files from other installs of CouchDB on a Mac (Apache CouchDB, CouchDBX, CouchBase Single Server, and Takeout). Hope this helps!

rwadholm commented 13 years ago

Actually, looking through and testing things, the only place takeout seems to be installed on a Mac is:

the application itself (wherever the user puts that, they can throw it into the trash)

and the ~/.couchapptakeout folder (users may need something like Houdini http://www.macupdate.com/app/mac/26729/houdini to be able to easily see and throw this hidden folder into the trash)

This is a much cleaner install than the typical CouchDB, CouchDBX, and CouchBase installs are in my opinion.