如何允许用户使用 WiX 选择要安装的现有 IIS 网站?

发布于 2024-09-18 18:11:54 字数 506 浏览 3 评论 0原文

有谁知道 WiX 安装程序的完整、可下载/可复制示例,该示例允许用户在安装 Web 应用程序时选择现有网站?

我正在努力让这个工作正常进行,在看到这似乎是一项重要的工作之后,我想先运行一个示例,以便我有一个工作项目作为我自己工作的基础。

我发现 (代码粘贴为图像)和此(无法运行)。

只是为了确认...允许用户选择要安装的站点真的与上述站点建议的工作量一样吗?我错过了一个技巧吗?

Does anyone know of a complete, downloadable/copyable example of a WiX installer that allows the user to select an existing website when installing a web application?

I'm trying to get this working and, after seeing that it seems to be a significant piece of work, I'd like to get an example running first so that I have a working project to base my own work on.

I found this (code is pasted as images) and this (can't get it running).

Just to confirm... Is it really as much work as the sites above suggest to allow a user to select the site to install to? Am I missing a trick?

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

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

发布评论

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

评论(2

勿忘初心 2024-09-25 18:11:54

我发现这篇 博客文章 执行以下操作C# 中的自定义操作,并具有完整的可下载示例。很容易遵循。

I found this blog post that does the custom action in C# and has a complete downloadable sample. Pretty easy to follow.

青芜 2024-09-25 18:11:54

是的,在 WiX 中完成这项工作需要相当多的工作。我通常不会给用户这么多选择。如果这对您很重要,您可能只想将其作为安装后配置步骤来执行。

Yes, that would be quite a bit of work to do it in WiX. I don't typically give a user this much choice. You might just want to do it as an after install configuration step if it's important to you.

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