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:

Task Manager Autostart

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 in Explorer

Shortcut properties:

Shortcut properties

1 Answer 1

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".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.