[英]WiX: This feature will be installed to run from network
您可能需要在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.