Hi,
We have just converted to MSI and I need to get rid of some shortcuts from previous installations in the start menu.
I have tried custom code DeleteFolderIcon and DeleteProgramFolder
but they are not deleting the shortcuts.
This is done after all the files are installed.
Please help!
THanks!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
ShortCut cannot be deleted
Started by
mouy
, Jul 05 2004 06:53
1 reply to this topic
Posted 05 July 2004 - 07:58
Is the folder empty? If the folder is not empty then the folder cannot be removed.
You could try adding entires into the RemoveFile, and RemoveFolder table instead of using Install Script. You can reference the ProgramMenuFolder\<foldername>
If this still fails, try deleting the short icon first maunally, and then add code to just remove the folder. This will then tell you if the remove icon code is not working.
You could also try running the install with log mode in the above scenario and see if that gives you any details.
You could try adding entires into the RemoveFile, and RemoveFolder table instead of using Install Script. You can reference the ProgramMenuFolder\<foldername>
If this still fails, try deleting the short icon first maunally, and then add code to just remove the folder. This will then tell you if the remove icon code is not working.
You could also try running the install with log mode in the above scenario and see if that gives you any details.