开发者

How can I make Distribution files using Visual Studio 2008

I want to distribute the installer package to my clients. Please anybody provide me details information about how can I make setup.exe file for my visual studio 2008 projects. If I am failed to provide any necessary info please let me 开发者_开发百科know. Thanks in advance.


Though this is written for C#, the tutorial should work fine in VB.NET as well, if that's what you're using.

http://www.dreamincode.net/forums/showtopic58021.htm


In VS2008, add a new project. Then click "Other Project Types" and Setup and Deployment underneath that. You can then pick "Setup Wizard" this will guide you through creating a setup.exe and an MSI installer. This can then be built just like any other project, so when you make a change to your project, you can rebuild the setup.


In order to create an installer package, do the following:

  1. Go to File -> Add New Project
  2. Select Setup Project from "Setup and Deployment Projects"

From here you can add your files and when you compile it will generate an MSI file.


If you have access to a web server, i would publish your file using clickonce. This way anytime you make a change your users will automatically get the updates. To do so, right click the main project that you want to expose and click on the publish tab.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜