Professional Documents
Culture Documents
Step1:-
First open your windows form application in your visual studio. ere i am using visual studio %&'& and my windows forms application #ame is "test"$which had made in previous tutorial.you can download it (lic) download. #ow i am going to open "test" application in visual studio %&'&$my "test" application is on des)top. See it carefully and open your application together.
Step2:-
#ow open "test" application in visual studio %&'&$which is given !elow$ follow it. *pen visual studio %&'&"+File"+*pen pro,ect-solution"+select the application "test"Folder.+ clic) open. See it/"
Step3:post. Form'.cs/"+
First see Form'.cs$Form%.cs and Solution 0xplorer window for remem!er previous
Form2.cs:->
Step4:-
#ow open solution explorer(if not open)"+1dd #ew Item"+Select 1pplication (onfiguration File"+(lic) 1dd See it:->
See 1pp.(onfig File/"It is used for creating connection to the data!ase. It is optional.
write the connection string for creating the connection data!ase ta!le "RAM" in app.Config file.if You want to create otherwise escape it
See it:->
Step6:-
#ow this is main step to create the step. *pen Solution 0xplorer"+(lic) on 4solution4test4(4pro,ect)"+1dd #ew 5ro,ect"+Select other pro,ect types from left window"+Select visual studio Installer"+Select the setup 6i7ard"+ write your setup name in !elow(mysetup)"+clic) *8.
Step7:
See it/"
Select 2adio !utton "C!eate a setup fo! a windows appli"ation" "+(lic) #ext.
See it/"
See it/"
(lic) 1dd 9utton"+go your application folder$which you want to create setup.
See it/"
Select the "App"File from your pro,ect ("test")"+ clic) *pen 9utton.
See it/"
See it/"
See it/"
See it/"
:o right side window"+ 2ight mouse clic) "+1dd file"+select i"on file 'extension . icon( ) This icon will show on Your des)top when you install the setup on computer.
See it/
#ow create shortcut file of "#!i$a!% *utput File" !y l 2ight mouse clic) on 5rimary *utput File.
See it/
See it/
Now Right mouse click on ' m"setup# S$ortcut and go property window.
See it:
See it/
See it/
See it/
See it/
;rag and drop +$%setup s-o!t"ut+ <ser4s ;es)top (left side window).
See it/
#ow again create shortcut primary output"+rename it again $%setup -& again add icon File from the mysetup p!ope!t% window as !efore we have added.
See it/
#ow 1dd #ew Folder in ".se!+s p!og!a$ $enu"(left side window) and change #ame it as setup"+#ow again ;rag and ;rop $%setup s-o!t"ut to the setup.
See it/
#ow go "Solution / plo!e! window"-& 2ight mouse clic) on $%setup-&(lic) 0uild. wait some time whenever setup is not successfully !uild"+ Your setup is !uild successfully"+:o and open your application Folder("test").
See it/
clic) mysetup/"
See it/"
See it/"
Step%:- 9efore installing the setup you First install .N/1 FRAM/2*R3 4.5 on your system$Cli"6 -e!e for download . whenever you install this setup on your window (*S) and open it then you will see li)e this/"