在没有 Visual Studio 的情况下在构建服务器上构建安装程序有哪些选项

发布于 2024-10-08 10:21:11 字数 664 浏览 0 评论 0原文

如果没有安装 Visual Studio,似乎仍然无法在构建服务器上构建 .vdproj 。然而,使用Wix似乎要复杂得多。

是否有其他选项可以执行以下任务:

  • 具有多个项目的 Visual Studio 2010 解决方案 (.csproj)
  • 许多松散内容文件(不在程序集中)
  • 安装程序必须在没有 Visual Studio 的情况下在构建服务器上构建它 (devenv.exe / devenv.com)
  • 安装程序必须创建注册表项
  • 安装程序必须将文件扩展名与已安装的产品关联起来
  • 安装程序必须支持升级(版本升级)
  • 安装程序应该能够注册 COM 组件
  • 安装程序应该能够预 JIT 程序集

我的目标是:

  • 维护安装程序的工作量很低
    • 如果将新项目(程序集)添加到解决方案,则只需进行最少的更改
    • 理想:如果将新内容文件添加到任何项目,则不会发生任何变化

也许我只是没有明白 Wix 的要点,但包括项目输出(如 < code>.vdproj)看起来很复杂。

非常感谢任何建议!

It seems like it's still not possible to build .vdproj on a build-server without having Visual Studio installed. However, using Wix seems to be a lot more complicated.

Are there any other options to do the following task:

  • Visual Studio 2010 Solution with multiple projects (.csproj)
  • Many loose content files (not inside assemblies)
  • Installer must be built on Build-server without Visual Studio on it (devenv.exe / devenv.com)
  • Installer must create Registry keys
  • Installer must associate file extensions with installed product
  • Installer must support upgrades (version upgrades)
  • Installer should be able to register COM components
  • Installer should be able to pre-JIT assemblies

My goal is:

  • Effort to maintain installer is low
    • Minimal changes if new project (assembly) is added to solution
    • Ideal: no changes if new content files are added to any of the projects

Maybe I just did not get the point with Wix, but including project output (like in .vdproj) seems very complicated.

Any suggestions very much appreciated!

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

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

发布评论

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

评论(2

甜尕妞 2024-10-15 10:21:11

好吧,我决定选择 Wix。发现使用 Votive 可以包含项目输出,如 .vdproj(二进制文件、内容、符号)甚至源代码)。

如果我遇到更复杂的情况,这还不够,我可能会求助于某种收割机(加热,石蜡)。

请参阅下面评论中的更多链接(声誉太低,无法在这篇文章中发布超过 1 个链接)。

OK I decided to go with Wix. Found out that using Votive it's possible to include project output like in .vdproj (Binaries, Content, Symbols and even Source Code).

If I run into more complicated situations where this isn't sufficient, I could fall back to some kind of harvester (Heat, Paraffin).

See some more Links in comments below (too little reputation to post more than 1 link in this post).

七分※倦醒 2024-10-15 10:21:11

查看InstallShield 2010 限量版(Visual Studio 2010 用户免费)。它几乎具有 VDPROJ(顺便说一句,已退役)具有的所有功能,并支持静默构建。您可以轻松地为您的开发盒获得一份许可证,并为您的构建机器获得一份许可证。

Check out InstallShield 2010 Limited Edition ( Free for Visual Studio 2010 users ). It has pretty much all the functionality that VDPROJ ( being retired btw ) has and supports silent builds. You can get one license for your dev box and one license for your build machine pretty easily.

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