OK, I need to write an installer that detects/removes a previous version of an application and its desktop shortcut and then installs the updated version and recreates the shortcut. The previous version was not installed by NSIS.
The problem that I'm having right now is that users often rename the desktop shortcut for the app, making script-based removal procedures more complicated.
Anyone have any suggestions for how to tackle this? I need to be able to detect/remove any and all desktop shortcuts for this app regardless of what the user has renamed it to....