使用 WiX 时是否可以动态添加页面

发布于 2024-10-10 01:48:59 字数 135 浏览 0 评论 0原文

我目前正在评估安装技术。我需要完成的主要任务之一是能够从用户那里获取号码并重复一组页面的次数。

我可以看到如何将新页面添加到 WiX 中,但无论如何都可以根据用户输入动态显示页面 - 这不是一个流程或另一个流程的选择。

谢谢

I am currently evaluating installer technology. One of the main tasks I need to complete is to be able to take a number from a user and to repeat a set of pages that number of times.

I can see how to add a new page into WiX but is there anyway to dynamically show pages according to user input - this is not a choice of one flow or another.

Thanks

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

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

发布评论

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

评论(1

携余温的黄昏 2024-10-17 01:48:59

正如 Wimmel 所建议的,您可能希望在安装程序中放置最大数量的对话框,但随后根据用户输入仅显示其中的一些对话框。如果这不是一个可行的选择,那么也许您可以使用外部 UI 处理程序并用选择的语言编写整个 GUI。 (提示:我编写了一个名为 SharpSetup 的工具,它简化了 C# 的工作。)

As Wimmel suggested you may want to put a maximum number of dialogs in your installer but then display only some of them depending on user input. If that's not a viable option then maybe you can use external UI handler and write the whole GUI in language of choice. (Hint: I have written a tool called SharpSetup that simplifies the job for C#.)

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