如何在Visual Studio 2008中为C#.Net Windows应用程序创建安装文件?
问题描述:
我创建了一个Windows应用程序。现在我想发布这个应用程序并制作一张CD。
在我的应用程序中,我使用的是指纹和网络摄像头设备以及activex控件。所以我的问题是如何创建一个安装文件,因为指纹和网络摄像头的所有其他所需的exe文件包含在一个安装文件中,并且还自动更新此应用程序。
提前谢谢。
I created a windows application. Now i want to publish this application and make a CD for that.
In my application i am using Fingerprint and Webcam device and also activex control. So my question is how do i create a setup file in that all the other required exe file for Fingerprint and webcam include in the one setup file and also auto update this application.
Thanks in advance.
答
您可以使用WiX Installer。 wixtoolset.org/ [ ^ 。网站包含教程,文档示例等
You can use WiX Installer. wixtoolset.org/[^]. Site contains tutorials, documentation sample, etc
这很简单。你可以阅读文章如何使用Microsoft Visual Studio构建Windows MSI安装程序 [ ^ ]
It's pretty easy. You can read the article How to Build a Windows MSI Installer with Microsoft Visual Studio[^]