Remove shortcut and associated file with Innosetup
As part of an application update, 开发者_如何学运维I want to remove an old start menu entry if it exists, and the file it points to. I tried:
[InstallDelete]
Type: files; Name: "{group}\User's Manual (PDF)"
Type: files; Name: "{app}\User's Manual.pdf"
The actual file itself got deleted, but not the start menu entry. Also - neither operation was recorded in the install log.
Any ideas?
Shortcuts have an extension, try:
Type: files; Name: "{group}\User's Manual (PDF).lnk"
精彩评论