开发者

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"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜