Showing posts with label create setup file. Show all posts
Showing posts with label create setup file. Show all posts

Saturday, September 12, 2009

Creating A setup For a 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 running into 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.

Subscribe via email

Enter your email address:

Delivered by FeedBurner

MSDotnetMentor

MSDotnetMentor My Website http://msdotnetmentor.com