开发者

Visual Studio 2010 - Publishing a Windows Form or WPF application

I've been looking around and other than: http://msdn.microsoft.com/en-us/library/31kztyey.aspx I have fou开发者_运维百科nd no information on how to publish a Windows form application I have written.

I have managed to publish and then install my application on my local computer, but not in the way I had intended. I was hoping to be able to zip up the folder containing my published project and upload it somewhere, at which point people can download the zip file and install my application. The publishing wizard doesn't seem to be able to publish in such a way, or if it is, it is fairly unclear.

Can anyone point me in the right direction here? I can also clarify what I would like to do if need.


You can create Setup Project ( File-> New -> Project -> Other Project Type -> Setup and Deployment -> Visual Studio Installer -> Setup Project ). So, in Solution Explorer, you can add existing project. After add your project, you can add your program output in File System window( Right click on Application Folder -> Add -> Project Output ... ), so you select your project from Project ComboBox ). After adding your project output, you can build your setup-project and you will have your setup file in your setup-project. For more information you can check :

Steps to Create Setup and Deployment

Setup Projects


Try this way: ClickOnce (Too simple, free, many ability like Update )

Edit : Absolutely there are many ways, also you can use third party software (like InstallSheild). and Look at Different Windows Installer and ClickOnce


You can create a setup-project - with this you can simply compile a setup and deploy all the setupfiles/msi and the user can install from this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜