使用 C# Windows 应用程序在单个设置中设置多个进程
CD 或闪存驱动器上的安装包文件(.msi) 将提供给客户以安装客户端应用程序。安装文件/磁盘将包括应用程序运行所需的必要软件,例如.Net Framework 和 SQL Express(包括两者的最新服务包)、GPRS 调制解调器驱动程序软件以及应用程序本身。这将是一个简单的安装过程,使客户可以自行安装应用程序。
客户端的设置首先安装.net,然后安装sqlexpress,然后安装gprs调制解调器驱动程序软件,最后安装应用程序。
我想用 C# 编写一个程序,将多个安装进程添加到单个安装文件中。
An installation package file (.msi) on a CD or flash drive will be given to the client in order to install the Client Application. The installation file / disk will include the necessary software needed for the application to function, e.g. .Net Framework and SQL Express (including the latest service packs for both), GPRS modem driver software, and the application itself. This will be a simple installation process making it possible for clients to install the application themselves.
the set up of client has first install the .net then sql express then gprs modem driver software and after the appliaction.
I want to write a program in C# to add the multiple process of setup's in a single setup file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我很清楚为什么您想自己用 C# 编写一个。看看 wix 尤其是 捆绑教程
I'm note sure why you would want to write one in C# youself. Have a look at wix especially the bundle tutorial
您可以编写一个批处理来依次启动所有 .exe 文件,并给出在 CD 启动时运行的批处理的路径。这样您就不必为所有内容编写 C# 代码。只需保持您想要安装软件的顺序即可。希望这有帮助!
You can write a batch to start all your .exe files one after the other and give the path of the batch to run on start of the cd. This way you will not have to write a C# code for everything. Just maintain the order in which you want to install the softwares. Hope this helps!!!