cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lostboyz
Level 4

Edit shortcut during minor upgrade

Hi,
How to edit the startmenu shortcut during minor upgrade. The existing shortcut is under Start>Programs>ProductName>executableFile. Now during minor upgrade i want to change this to Start>Programs>CompanyName>ProductName>executableFile.

I'm using IS 2009 Basic MSI.

When i added the CompanyName as a new folder under Programs, I get this new shortcut but the old existing one's are not removed. I could see both shortcuts after upgrade.

Please help.
Labels (1)
0 Kudos
(2) Replies
MSIYER
Level 8

Delete the existing shortcut in entirety.
Create the new desired one during minor upgrade.

You can use DeleteFolderIcon and AddFolderIcon Installscript functions wrapped in a Custom Action to easily do the job.
You may also use Win32 APIs, if you are comfortable with them.
0 Kudos
lostboyz
Level 4

Thanks.

Posted here to check whether there are any options to removed shortcuts from IDE itself, but in vain.

Implemented DeleteFolderIcon to delete shortcuts now.
0 Kudos