admin管理员组文章数量:1419168
I am adding a shortcut in desktop using WixV5 but icon is not coming. How can I add an ICo to shortcut.
The code I used is
<Component>
<File Source="../camviewer.exe" />
<Shortcut Name="camviewer" Directory="DesktopFolder" Advertise="yes" />
<Shortcut Name="camviewer" Directory="ProgramMenuFolder" Advertise="yes" />
</Component>
ProgramMenuFolder also I am nto getting camviewer
I am not able to find reference part in visual studio.
I am adding a shortcut in desktop using WixV5 but icon is not coming. How can I add an ICo to shortcut.
The code I used is
<Component>
<File Source="../camviewer.exe" />
<Shortcut Name="camviewer" Directory="DesktopFolder" Advertise="yes" />
<Shortcut Name="camviewer" Directory="ProgramMenuFolder" Advertise="yes" />
</Component>
ProgramMenuFolder also I am nto getting camviewer
I am not able to find reference part in visual studio.
Share Improve this question edited Jan 30 at 12:01 Sijith asked Jan 29 at 7:54 SijithSijith 3,96018 gold badges65 silver badges109 bronze badges1 Answer
Reset to default 0Use the Icon attribute to reference an Icon element with the icon you want to use for three advertised shortcut.
<File ...>
<Shortcut ... Icon="MyIcon" />
</File>
<Icon SourceFile="path/to/my/shortcuts/foo.ico" />
本文标签: wix5How to add ico using wix installer v5Stack Overflow
版权声明:本文标题:wix5 - How to add ico using wix installer v5 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745306009a2652648.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论