cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
peterbi
Level 7

How to remove icon of a shortcut from desktop

Hi,

IS Script MSI project with IS 2008.

I started the project by converting from DevStudio9 to IS2008. There is one issue: after upgrading using my new build on top of a previous release, every thing is fine. But when I do uninstall, a shortcut icon is left on desktop. The shortcut folder and the linked file have been removed in the uninstall. If I clicke on the icon, it will pop up error saying the linked file/folder doesn't exist or things like. When I tried install/uninstall on both of the previous release and my new build, all works fine: the shortcut (including icon at desktop) is created at install and removed at uninstall.

I know the AddFolderIcon() and DeleteFolderIcon() worked in the code, but why is the icon left on desktop? Can I force it to be removed (after uninstall)?

Thanks,
Peter
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

(Duplicate post; follow-up [thread=182824]here[/thread].)
0 Kudos