Create your own windows application. Create a new Windows application project in C# and named it as Sample.
Design your own application. Here we have a simple login form for example.
After completing the design and coding, build the solution of the project in release mode.
Check the Release folder for the file “ProjectName.exe”. Here in this example we have the project name as sample so we can find a file with the name Sample.exe. Double click the executable file and check the example.
Create a Deployment Project. Select the “Other Project Types” -> “Setup and Deployment” -> “Setup project”. Here we have the setup project for example as “SampleSetup”.
Add the Sample.exe project application file inside the “Application Folder”.
To make a shortcut for the project right click “File System on Target Machine” and create shortcut of the application. Here in this example the project shortcut is created in program files folder.
Create the shortcut of the application.
Rename the shortcut of the application.
Move the Shortcut file to specified target. Note if you need another shortcut for some other target also create use same steps.
Now build the solution in release mode.
The setup file created in release folder of the project specified path.
Run the setup, step the path to extract.
The SampleSetup project is extracted and shortcuts are created. Now run your application.