Step 1
Create your own windows application. Create a new Windows application project in C# and named it as Sample.
Step 2
Design your own application. Here we have a simple login form for example.
Step 3
After completing the design and coding, build the solution of the project in release mode.
Step 4
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.
Step 5
Create a Deployment Project. Select the “Other Project Types” -> “Setup and Deployment” -> “Setup project”. Here we have the setup project for example as “SampleSetup”.
Step 6
Add the Sample.exe project application file inside the “Application Folder”.
Step 7
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.
Step 8
Create the shortcut of the application.
Step 9
Rename the shortcut of the application.
Step 10
Move the Shortcut file to specified target. Note if you need another shortcut for some other target also create use same steps.
Step 11
Now build the solution in release mode.
Step 12
The setup file created in release folder of the project specified path.
Step 13
Run the setup, step the path to extract.
Step 14
The SampleSetup project is extracted and shortcuts are created. Now run your application.
Create your own windows application. Create a new Windows application project in C# and named it as Sample.
Step 2
Design your own application. Here we have a simple login form for example.
Step 3
After completing the design and coding, build the solution of the project in release mode.
Step 4
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.
Step 5
Create a Deployment Project. Select the “Other Project Types” -> “Setup and Deployment” -> “Setup project”. Here we have the setup project for example as “SampleSetup”.
Step 6
Add the Sample.exe project application file inside the “Application Folder”.
Step 7
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.
Step 8
Create the shortcut of the application.
Step 9
Rename the shortcut of the application.
Step 10
Move the Shortcut file to specified target. Note if you need another shortcut for some other target also create use same steps.
Step 11
Now build the solution in release mode.
Step 12
The setup file created in release folder of the project specified path.
Step 13
Run the setup, step the path to extract.
Step 14
The SampleSetup project is extracted and shortcuts are created. Now run your application.
0 comments:
Post a Comment