简体   繁体   English

将多个程序打包到一个安装程序C#中(Visual 2010 Basic)

[英]Packaging multiple programs into one installer C# (visual 2010 basic)

I am currently finishing a project that uses multiple programs, and I am trying to get ideas of how to package them all into one installer, probably through the publishing option in visual basic, but I am sure there are multiple ways this can be done. 我目前正在完成一个使用多个程序的项目,并且我试图获得有关如何将它们全部打包到一个安装程序中的想法,这可能是通过Visual Basic中的发布选项完成的,但是我确信可以通过多种方法来完成。

First, the main program is done using windows forms. 首先,使用Windows窗体完成主程序。 That program, on the server side, keeps track of information that is going on in the warehouse. 在服务器端,该程序可以跟踪仓库中正在发生的信息。 Users are able to manipulate that info on the client side as needed from multiple points: receiving, work orders, and shipping. 用户可以从多个角度根据需要在客户端上操纵该信息:接收,工作单和运输。

The external program was done in Unity and uses the same information to show how the warehouse is staged, what work is being done, and gives a 3D view of where people and inventory are located in snap shots of time. 外部程序是在Unity中完成的,并使用相同的信息来显示仓库的上架方式,正在执行的工作,并以3D方式在时间快照中显示人员和库存的位置。

So what I am trying to do, is package the Unity project into the installer. 所以我想做的是将Unity项目打包到安装程序中。 It's okay that it's a stand alone program, since I can just open it via the system controls in the main windows form project. 没关系,它是一个独立的程序,因为我可以通过主窗体窗体项目中的系统控件打开它。

What isn't okay, is that right now it takes two installs to get everything running. 不好的是,现在需要两次安装才能使所有程序运行。 Given that I have to deal with individuals that can barely use Google chat, I need this process to be seamless. 鉴于我必须与几乎不能使用Google聊天的人打交道,因此我需要此过程是无缝的。

I am personally a fan of WiX . 我个人是WiX的粉丝。 I have used it for small, single application distributions and large composite applications that involve many parts. 我已将其用于涉及多个部分的小型单一应用程序发行版和大型复合应用程序。 It is capable of producing MSI( MSU, MSM, etc.), EXE installers and has Visual Studio integration. 它能够生产MSI(MSU,MSM等),EXE安装程序,并且具有Visual Studio集成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM