开发者

Remove shortcut and associated file with Innosetup

开发者 https://www.devze.com 2023-02-15 14:40 出处:网络
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:

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

精彩评论

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