Visual Studio Installer Project - User's startup Folder shortcut not working?

58 Views Asked by At

I've made an installer project for my program, created a shortcut of my project output and put it into User's Sartup Folder. After installing the program, task manager shows random characters for my program under the startup tab. When right clicking and opening it's location, it opens AppData/Roaming/Microsoft/Installer/[ProductCode] of the installer project]/RandomcharactersAsShortcutName.exe (.exe, not .lnk).

When I check my startup folder, the shortcut (.lnk) is there as instended, but not used for some reason.

When uninstalling the program, it deletes the shortcut from the startup folder, so it knows it's there.

When I don't create a shortcut in the user's startup folder, it still creates this Installer folder with the randomly named .exe in AppData, but task Manager doesn't detect it as a startup program.

How do I make the project not create this folder, or how can I edit the name that appears in the task manager startup menu?

EDIT: after restarting my PC and rebuilding countless of times, the path is now C:/Windows/Installer/[ProductCode] - Wat

0

There are 0 best solutions below