带 delphi 自定义操作的 WIX 安装程序

发布于 2024-08-14 18:39:33 字数 294 浏览 2 评论 0原文

我们正在使用 Delphi 编写自定义操作,并想知道以下内容是否存在任何问题,或者一种方法是否比另一种更好。

  1. 使用 WMI 确定是否安装了 SQL Server 并获取 SQL Server 实例名称。
  2. 如果 WMI 存在问题(引发异常),则使用 SQLDMO。
  3. 使用 WMI 获取网站正在运行的端口以及是否安装了 IIS。
  4. 使用 WMI 读取注册表值。

在 1) 和 2) 的情况下,我应该只使用 SQLDMO 而不是 WMI。

谢谢。 JD。

We are writing custom actions using Delphi and wanted to know if there would be any issues with the following or whether one way would be better than the other.

  1. Using WMI to determine if SQL server is installed and getting the SQL server instance names.
  2. If there is an issue with WMI (exception raised), then use SQLDMO.
  3. Using WMI to get the port a website is running on and if IIS is installed.
  4. Reading registry values using WMI.

In the case of 1) and 2), should I just use SQLDMO rather WMI.

Thanks.
JD.

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

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

发布评论

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

评论(1

小镇女孩 2024-08-21 18:39:33

经过一天的搜索,我发现最好的是 http://www.magsys.co.uk /德尔福/

有一个演示项目,允许您更改命名空间并测试各种 WQL 和实例查询。希望这对某人有帮助。

After a day of searching, the best I have found is http://www.magsys.co.uk/delphi/.

There is a demo project which allows you to change namespaces and test various WQL and instance queries. Hope this helps someone.

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