[Bug 10277] Uninstalling software does not remove them from Programs menu

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 30 04:26:57 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10277





--- Comment #41 from Ambro <ambro at b4ever.net>  2008-11-30 04:26:57 ---
I've already written something relatively functional. I've patched
winemenubuilder to record created shortcuts (.lnk) to registry, along with some
info. Then I've written a service which watches these files, and when it finds
a nonexistent .lnk file, it removes the associated shortcuts on the user's
desktop.

But there is a small problem. If the application installs a user-local desktop
shortcut (~/.wine/windows/profiles/<user>/Desktop, which points to ~/Desktop),
the .lnk file is of course visible on the desktop, along with the real shortcut
(this can be seen without my patch).
Because the .lnk files annoy users, they will delete them, which will make my
service remove the real shortcut as well.
I see two possible things to do:
- Don't attempt to record user-local desktop shortcuts to the registry. This
way, they will never be removed.
- Don't point the Desktop folder (~/.wine/windows/profiles/<user>/Desktop) to
the real desktop folder (~/Desktop). This way, removal will work, and the user
will not be annoyed, but I'm afraid some apps use the Desktop folder for things
other than shortcuts (e.g. Firefox saves downloads to desktop by default).

Does anyone see a better solution?

BTW, URLs are not implemented yet.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list