<Component Guid="{27E3322C-C85D-4451-A06D-21B524878CA0}">
<File Source="$(var.AutomatedIDSystem.TargetPath)" KeyPath="yes">
<Shortcut Id="APSShortcut"
Name="APS"
Advertise="yes"
Description="Something!"
WorkingDirectory="INSTALLFOLDER"
ShortName="APS"
Directory="DesktopFolder" Icon="$(var.AutomatedIDSystem.TargetPath)" IconIndex="0" />
</File>
</Component>
如果我删除图标和图标索引,这很好用
但是我希望有一个图标。我有一个 ico 文件,或者如果你能告诉我如何使用应用程序图标,那将是首选(如果我们更新我们的图标,桌面图标也会更新)