Delete shortcut and its associated file using Innosetup

As part of updating the application, I want to delete the old start menu entry, if one exists, and the file it points to. I tried:

[InstallDelete]
Type: files; Name: "{group}\User Manual (PDF)"
Type: files; Name: "{app}\User Manual.pdf"

The actual file itself was deleted, but was not entered at the beginning. In addition, no operation was recorded in the installation log.

Any ideas?

+3
source share
1 answer

Shortcuts have an extension, try:

Type: files; Name: "{group}\User Manual (PDF).lnk"
+8
source

All Articles