[英]How can create an installer from my Application C#
I would like to create a wizard which will create an installer in C#. 我想创建一个向导,它将在C#中创建一个安装程序。 How can I do that?
我怎样才能做到这一点? Please help.. I need to pack some executable files and a mdb database to the application creator.
请帮助。我需要将一些可执行文件和一个mdb数据库打包到应用程序创建者中。 The database is dynamically generated.
数据库是动态生成的。 So the usual setup project won't work.
因此,通常的安装项目将无法正常工作。
In order to have a more flexible (custom) installer, I recommend using WiX 为了拥有更灵活的(自定义)安装程序,我建议使用WiX
you can start from here 你可以从这里开始
Download WiX from here 从这里下载WiX
or 要么
The faster (typical) way but not flexible (custom) is: 更快(典型)但不灵活(自定义)的方式是:
new Project -> Other Project types -> Setup and Deployment
新项目->其他项目类型->设置和部署
I use advanced Installer. 我使用高级安装程序。 It is not free software but It is pretty good and extremly easy to use.
它不是免费软件,但非常好,非常易于使用。 Check if it meets your requirement or not
检查是否符合您的要求
http://www.advancedinstaller.com/ http://www.advancedinstaller.com/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.