简体   繁体   中英

WiX: This feature will be installed to run from network

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:

Inside your <Feature> add an empty <ComponentRef Id="yourFeatureId"/>

Ensure, that this referenced Component resist inside your TARGETDIR. This prevent the Network-target.

Example:

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

Works in my Project:-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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