Create program installer in Visual Studio 2005?

前端 未结 8 471
无人及你
无人及你 2020-12-19 06:45

I\'m a web-guy stuck in \"application world\" in VS 2005. I created my windows forms program and want to give my end users the ability to install it (and some of it\'s reso

相关标签:
8条回答
  • 2020-12-19 07:15

    I would suggest using something WiX (windows installer XML). Its the toolkit most products from codeplex or OOB code drops use, and its pretty easy to get the hang of.

    There's also (in version 3) an IDE add-in called Votive to help make things 'easier'.

    Personally I find using WiX more flexible then using the built in Visual Studio installer template, though your means might vary. Take a look at http://wix.sourceforge.net/ and there's also a great tutorial at http://www.tramontana.co.hu/wix/.

    If it seems kind of hard to start off with, persevere - I did and now I find it perfect for what I need.

    0 讨论(0)
  • 2020-12-19 07:18

    Add a "Setup Project" project to your solution. New Project > Other Project Types > Setup and Deployment. You can then choose what is installed and where.

    0 讨论(0)
  • 2020-12-19 07:21

    You're looking for a "Setup Project" which should be under the "Other Project Types" -> "Setup and Deployment" category in the "New Project" dialog.

    0 讨论(0)
  • 2020-12-19 07:22

    The Setup Project is the way to go. If you're going to be deploying the installer from a web site, I recommend creating an MSI file as the project output (as opposed to a Setup.exe output). Most of my clients block the download of EXE files.

    0 讨论(0)
  • 2020-12-19 07:24

    Another option is Inno Setup, a third-party installer which is free, easy to use and excellent:

    Inno Setup

    0 讨论(0)
  • 2020-12-19 07:32

    I'd like to add a quick start tutorial for the 'Setup Project' as a good place to start with building your own setup with VS: http://www.codeproject.com/KB/dotnet/Win_App_Setup_Project.aspx

    0 讨论(0)
提交回复
热议问题