简体   繁体   English

WiX:将安装此功能以运行 from.network

[英]WiX: This feature will be installed to run from network

WiX. WiX。

How does work this variant of the feature installing?这个功能安装变体如何工作? How can I disable it?我怎样才能禁用它? I see nothing about it here .在这里什么也看不到。 My admin told to me that he nothing knows about it too.我的管理员告诉我他也对此一无所知。

在此处输入图像描述

您可能需要在Feature元素中将InstallDefault设置为local,但这有助于查看WiX中涉及的功能。

Because this is an issue also in 2022, here one solution:因为这也是 2022 年的一个问题,这里有一个解决方案:

Inside your <Feature> add an empty <ComponentRef Id="yourFeatureId"/>在你的<Feature>中添加一个空的<ComponentRef Id="yourFeatureId"/>

Ensure, that this referenced Component resist inside your TARGETDIR.确保此引用的组件在您的 TARGETDIR 中存在。 This prevent the Network-target.这可以防止网络目标。

Example:例子:

<DirectoryRef Id="TARGETDIR">
        <Component Id="yourFeatureId" Guid="{C8F07DC5-50C6-450E-A398-A520735FC5A9}" />
</DirectoryRef>

Works in my Project:-)在我的项目中工作:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM