.NET 发行包 - 哪种类型的项目最好?

发布于 2024-08-26 18:58:18 字数 183 浏览 7 评论 0原文

我使用 Visual Studio .NET 开发一个名为 X_Component 的组件,并计划开发几个使用 X_Component 的客户端应用程序。 我需要为每个应用程序部署 X_Component。

我想创建一个包含在每个应用程序中的分发包。 我应该创建哪种类型的项目(CAB/合并模块/设置/Web 设置/...)以及为什么?

I use Visual Studio .NET to develop a component named X_Component and I plan to develop several client applications that use X_Component.
I need to deploy X_Component with each of these applications.

I want to create a distribution package to be included with each application.
Which type of project should I create (CAB/merge module/setup/Web setup/...) and why that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

别理我 2024-09-02 18:58:18

尽管初始学习曲线较高,但我还是非常喜欢使用 WIX 生成安装包。这并不困难,并且不会试图隐藏 Windows 安装包的真实本质。那些试图隐藏Windows安装包真实本质的工具最终会让你哭泣。

在 WIX 中,您可以选择创建“合并模块”安装包或 WIX 库。除非您想将合并模块与另一个安装包创建工具一起使用,否则我会推荐后者。将 WIX 库包合并到更大的安装中要简单得多。

Even thought there is a higher initial learning curve, I'm a big fan of using WIX to generate installation packages. It's not difficult and it doesn't try to hide the true nature of Windows installation packages. Tools that do try to hide the true nature of Windows installation packages will eventually make you cry.

In WIX you have the option of creating a "merge module" installation package, or a WIX library. Unless you want to use the merge module with another installation package creation tool, I would recommend the latter. It's much simpler to incorporate a WIX library package into a larger installation.

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