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 badges1 Answer
Reset to default 1Advertised 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".