Deploy an .Net Windows Application


Deploy an .Net Windows Application

Creating A setup For a Windows Application
Some one has asked me today that how can I create a setup for a windows application in VB.Net so in order to answer the question I have prepared an article which I am sharing with you all hoping it will be of any help to others to solve the same problem. The one thing I would like to clear is that creating setup for a windows application is not based on any language. We need to follow the following Steps, in order to create a setup project for any windows application regardless of the language.


1. Open visual studio.


2. Select New Project from the File Menu.


3. Under The Other Project Types.


4. Select Setup Project.


5. Name it I am using Setup1 for the Example.



6. Once You Click Ok You will see the Screen Like This



7. Select Application Folder in Left Tab under File System on Target Machine. 8. Right Click on it.



9. Under Add option you will find the Folder, File, Assembly options. Choose the appropriate option I am Directly Creating an exe File you may also Create a folder and in that folder Cerate the exe file. 10. Now Browse for the EXE. For which you want to create setup



11. The Dependent DLL's and the Exe will be copied



12. If you want to create Shortcut keys on the user Desktop and in the Program files Then Right Click On the Exe File



13. Choose Create shortcut. Rename It.



14. Now Drag and Drop This Shortcut To the Appropriate folder



15. Now Some Properties We Need to Change In order that they look like this is ours company Project. 16. Select The Project from the Solution Explorer and Press Select the Project from the Solution Explorer and Press to open the Properties.



17. Change The Author Name From The Default Company Name to the name of your choice. 18. And Manufactures Name



19. Choose Release Option Instead of Debug option



20. And Then Build Solution



21. Now Your Product is ready to distribute with the setups.You Can See That by Opening the Containing Folder



22. There In Setup ? setup? Relase? you will find two files To distribute.




Reference: http://aspnetbymeetu.blogspot.com/2009/09/creating-setup-for-windows-application.html


Comments

Author: kuldeep20 Sep 2010 Member Level: Gold   Points : 0

thanks for
Shearing

Regards
Kuldeep

Author: mausumi24 Sep 2010 Member Level: Gold   Points : 0

Thanks
for this Article

Regards
mausumi

Author: Radha Srikanth22 Oct 2010 Member Level: Bronze   Points : 0

Nice article thanq so much. Worth reading!!!

Author: ketan Italiya13 Sep 2013 Member Level: Gold   Points : 0

Thanks,for sharing..



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: