http://bugs.winehq.org/show_bug.cgi?id=10277
--- Comment #19 from Ambro ambro@b4ever.net 2008-07-05 11:27:23 --- But how does wine create a shortcut in the first place? I guess there is a hook somewhere so that when an app writes a .lnk, some code is called that reads it and creates the appropriate freedesktop shortcut. If so, I don't see why it couldn't be done the other way as well. When creating a freedesktop shortcut, wine should map the source .lnk to the files that were created for the freedesktop shortcut, most probably in the registry. Then add another hook to the delete function, and if the file being deleted is a .lnk, look it up in the registry and delete all parts of the freedesktop shortcut.