I am struggling to find guides or explanations online on how to make a shortcut for my app to appear in the startup folder upon the installation of the app.
I am using Visual Studio 2022 and the app is written in C#.
Visual Studio Installer Projects Extension and .NET comes with this function, when you After following a normal procedure to create a Setup Project, you can put the program's shortcut into the startup folder through the following methods:
Right-click File System on Target Machine => Add Special Folder => User’s Startup Folder
Right-click your primary output in the Application Folder, click Create Shortcut to Primary..., create a shortcut to the primary output and pull the shortcut into User’s Startup Folder
After building the project, open the installer installer and remember to click Install this program for everyone
After the installation is complete, open the Startup folder and you will find the shortcut to the program inside.
If you already know how to create setup projects, this will go smoothly. If you have any questions, please let me know.