使用 C# Windows 应用程序在单个设置中设置多个进程

发布于 2024-11-13 12:56:16 字数 292 浏览 4 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

極樂鬼 2024-11-20 12:56:16

我很清楚为什么您想自己用 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

静若繁花 2024-11-20 12:56:16

您可以编写一个批处理来依次启动所有 .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!!!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文