How can I 'uninstall' previously installed shortcuts?

I have an application in the field that was installed with the WISE installer. It created both desktop and start menu shortcuts on Win 98, 2000, XP, and Vista machines. I'm now creating an 'updater' package and I'd like to just delete the older shortcuts and insert new ones. I have the feeling I really should know this...but I don't... is there a way I can reliably delete the old icons on these various platforms before I insert new ones? The new path/shortcut may not be exactly the same so I don't want to update the old, I'd rather delete and insert new. Has anyone done this? I'm using InstallBuilder 8.1.

TIA Ron
KnowledgeWareAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Vadim RappConnect With a Mentor Commented:
objection. With properly authored installation, this problem does not exist at all, and shortcuts do update in the new version, as well as anything else that has changed. I don't really care about the points - if for whatever reason the asker did not want to use my solution, it's his choice; but it would be a mistake to include this (klutzy) solution in the knowledge base. Though there can be circumstances when some hack is really the only cure, in this case there was no evidence of anything like that, and this method should not be recommended in general case.
0
 
Vadim RappCommented:
In the course of update, the old version will be uninstalled, and that should delete old shortcuts.
0
 
KnowledgeWareAuthor Commented:
No, that's not how the upgrader works. It leaves the majority of files and just updates a few, but the shortcut needs to change. So I'd like to delete the old shortcuts then install the new... but you've given me an idea, maybe I can read the uninstall.log and selectively remove them that way. Thanks
0
 
Vadim RappCommented:
If this is windows installer installation, then all that is required to ensure that ole shortcuts are not migrated to the ner version, is that the component the shortcut belongs to changes its ID in the ner version. Practically, remove the file the shortcut points to from the installation (this will remove the shortcut as well), and then re-add the file from the source. Then it will be new component.
0
 
KnowledgeWareAuthor Commented:
Hello vadimrapp1 - I think I've found a (klutzy) solution, I'm deleting the 'X'.lnk file from C:\Documents and Settings\All Users\ dir... this seems to do the job on most platforms. Thanks for you help!
0
All Courses

From novice to tech pro — start learning today.