【问题标题】:How to create an installer for windows service built in C++如何为使用 C++ 构建的 Windows 服务创建安装程序
【发布时间】:2011-01-27 06:03:41
【问题描述】:

我想为用 C++ 构建的 Windows 服务创建一个安装程序。我已按照this 文章创建服务。 我的解决方案中有 3 个 win32 控制台应用程序。一种用于安装,一种用于卸载,一种用于实际工作。

【问题讨论】:

  • 您的意思是您希望安装程序使用 C++ 构建,或者您有一个恰好用 C++ 编写的程序需要安装程序?
  • 我的程序是用 C++ 编写的,我想为此创建一个安装程序。
  • 我就是这么想的。然后 WiX 是要走的路:)
  • 我知道 WIX。难道没有别的办法了吗?使用 Visual Studio 或类似的东西?
  • Votive 是一个 Visual Studio 插件,它是 WiX 的一部分。在 VS 中有一个“设置项目”可以访问,但它非常有限。 WiX 可以访问以 Windows Installer 格式访问的所有功能。

标签: c++ windows-services installation


【解决方案1】:

我必须谦虚地推荐 WiX (Windows Installer XML Toolset) 以满足您的所有安装需求。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-10-23
    • 2015-03-21
    • 1970-01-01
    • 2012-02-19
    • 1970-01-01
    • 1970-01-01
    • 2010-09-12
    • 2012-09-17
    相关资源
    最近更新 更多