How to remove app's icon from LaunchPad on uninstall w/Yosemite
How to remove app's icon from LaunchPad on uninstall w/Yosemite
- Subject: How to remove app's icon from LaunchPad on uninstall w/Yosemite
- From: Stephen Kay <email@hidden>
- Date: Sat, 01 Nov 2014 17:46:42 -0400
- Thread-topic: How to remove app's icon from LaunchPad on uninstall w/Yosemite
I have an app that is NOT downloaded from the App Store, but rather from
my website. It uses a MindVision VISE X installer (but I don't think
that's part of the problem I want to discuss here).
I noticed that with Mavericks (and likely Lion and Mtn Lion), when my app
is installed, and then uninstalled, the icon for the app remains in the
LaunchPad (even though I explicitly remove it from the Dock).
So after some research, I learned that one could do this with a Unix
script to remove icons from the LaunchPad:
sqlite3 ~/Library/Application\ Support/Dock/*-*.db "DELETE from apps WHERE
title='My App';" && killall Dock
However, this doesn't work on Yosemite. In fact, it appears that the
database in the ~/Library/Application Support/Dock/ folder is no longer
used. This post I found has the answer:
http://superuser.com/questions/830196/how-can-i-remove-apps-from-launchpad-
in-os-x-yosemite
(the database has apparently been moved to a /private/var folder, and you
now have to do this:)
sqlite3 $(sudo find /private/var/folders -name
com.apple.dock.launchpad)/db/db "DELETE FROM apps WHERE title='APPNAME';"
&& killall Dock
It does work to remove orphaned icons from the LaunchPad in Yosemite.
But this being the case, I don't think this could be done by an installer
because it requires super user access and a password.
So, the questions:
1. How do people handle this issue in general? Should I just ignore it and
leave a dead icon in the LaunchPad? Does anybody even use that thing? ;-)
2. Does anyone know of other ways to handle this?
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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