Your Ads Here

Wednesday 15 February 2012

To create EXE file or installation package of .NET application

It shows to create an installation package of our .NET project. Therefore it can be installed in any computer without the source code.

Steps to create package.

1) In your main project(that want to make package) click file menu and select add and then new project



2) In add New Project frame you have to select Other Project Types in tree view and then select setup and Deployment and then Setup Project (give a suitable name for your setup). and click OK


3) Then you can see a File System page here you have to click application folder and right click then select add->project output, from the Add Project Output Group, select Primary Output and click OK



4) Then select Primary Output From Testing(active) and right click and create shortcut for the output.


5) created shortcut can be paste to the User's Desktop(Desktop) and User's Programs Menu(start Menu) (after install it show on the desktop and start menu)







6)Finally Click solution Explorer->Mypkg(created Package name) and right click and make to build....after building you get the required package.


7) Finally you get the package like this...


No comments:

Post a Comment