最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wix5 - Wix StartupFolder Shortcut shows as "Icon.ico" in Task Manager - Stack Overflow

programmeradmin2浏览0评论

I install a Shortcut with my Wix Installer like this:

                <Shortcut Name="Tray Application"
                          Directory="StartupFolder"
                          WorkingDirectory="InstallFolder"
                          Advertise="yes"
                          Icon="Icon.ico" />

Icon is defined like this:

<Icon Id="Icon.ico" SourceFile="Resources\Icon.ico" />

In Task Manager -> Autostart it shows up like this:

Why does it show up as "Icon.ico" and not "Tray Application" in Task Manager -> Autostart?

In C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup it shows up likes this:

Shortcut properties:

I install a Shortcut with my Wix Installer like this:

                <Shortcut Name="Tray Application"
                          Directory="StartupFolder"
                          WorkingDirectory="InstallFolder"
                          Advertise="yes"
                          Icon="Icon.ico" />

Icon is defined like this:

<Icon Id="Icon.ico" SourceFile="Resources\Icon.ico" />

In Task Manager -> Autostart it shows up like this:

Why does it show up as "Icon.ico" and not "Tray Application" in Task Manager -> Autostart?

In C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup it shows up likes this:

Shortcut properties:

Share Improve this question asked Mar 15 at 0:41 HativHativ 1,5301 gold badge16 silver badges24 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Advertised shortcuts use the Id of the Icon because they don't have access to the target file name when deployed. So, change the Icon Id to the name you want to show up, like "MyApplication.exe".

发布评论

评论列表(0)

  1. 暂无评论