如何跳过 WIX 生成的安装程序中的功能选择屏幕?

发布于 2024-08-14 02:23:17 字数 91 浏览 3 评论 0原文

我希望安装程序跳过显示安装类型屏幕(您可以在其中选择典型、自定义、完整功能),我该如何执行此操作? 我只提供了一项名为“产品”的功能集。 我还希望用户能够更改安装目录。

I want the installer to skip showing setup type screen (where you can choose Typical, Custom, Complete features), How can I do this?
I provided only one feature set named product.
And I also want the user be able to change the installation directory.

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

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

发布评论

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

评论(2

烂人 2024-08-21 02:23:17

如果您只要求用户自定义安装文件夹,请使用:

<UIRef Id="WixUI_InstallDir" />

如果您不允许自定义安装文件夹,请使用:

<UIRef Id="WixUI_Minimal" />

您可能正在使用确实包含的内置库之一功能树选择,即

  • WixUI_Mondo
  • WixUI_FeatureTree
  • WixUI_Advanced

If you only require the user to customize the installation folder, use:

<UIRef Id="WixUI_InstallDir" />

If you don't permit customization of the installation folder, use:

<UIRef Id="WixUI_Minimal" />

Chances are you're using one of the built in libraries that does include the Feature Tree selction, i.e.

  • WixUI_Mondo
  • WixUI_FeatureTree
  • WixUI_Advanced
以往的大感动 2024-08-21 02:23:17

我的应用程序只有一个许可证屏幕,然后是安装目录屏幕,我使用此配置块来执行此操作:

<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
<UIRef Id="WixUI_InstallDir" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />

就在我的 标记末尾之前。所有应用程序都安装到 部分的 INSTALLLOCATION 中。

WixUI 对话框库指南可能有助于解释这些选项

My application only has a licence screen then installation directory screen, and I use this configuration block to-do it:

<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
<UIRef Id="WixUI_InstallDir" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />

just before the end of my </Product> tag. All the application installs into INSTALLLOCATION in the <Directory> section.

The WixUI dialog library guide might help explain the options

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