Tuesday, 13 August 2013

Creating the setup or exe file of the project

first of all open the window application.if you don't know how to create it click here.
take the basic controls.1 button , 2 textbox , 1 label
i am creating the exe simple of the addition program.
your form looks like it..


write the below code in button click event


now click on file then select add and go to the new project


you will get this window.in this window select other project types then go to visual studio installer and select  setup project.

you will get this window.in this window right click on the Application folder then select ADD and go to the
Project Output.like it


you will get this window


click OK.again right click on User's Desktop go to ADD and select Primary Output 

 click ok.

mow open the Solution Explorer Right click on Setup folder and click on Build



it will take less than 1 minute and at left bottom you will find the message Build Succeeded



then close the visual studio.open the documents  library open your project you will find the folder name Setup1.open this folder install the setup.

 then you will find the shortcut of the exe of your project.
 open it and run

by this you can make the setup of your project and transferred it to other system.
please share it and help others

No comments :

Post a Comment