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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Vadim RappCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.