|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 27
|
Hi,
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.... Thanks
|
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jul 2004
Posts: 671
|
Script to delete shortcuts by target file name from $DESKTOP, $QUICKLAUNCH, $SMPROGRAMS. You can easily change it to delete by working directory and so on. Script used Locate plugin and ShellLink plugin
code: |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2005
Posts: 27
|
Thanks, I'll play around w/ that
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|