Wix组件状态评估
如果正在安装另一个功能(不是该组件的父功能),我需要安装一个组件。
组件条件似乎在 CostFinalize 操作期间进行了评估,因此我创建了一个属性并设置了该属性的值,然后我使用自定义操作强制执行 CostInitialize 操作,
但组件仍然没有安装,有任何线索吗?
I have a component that needs to be installed if another feature ( not the parent feature of the component) is being installed.
The component conditions seems to be evaulated during CostFinalize action, so i created a property and set the value of that property, I then force CostInitialize action using a custom action
but the component still doesnt get installed, any clues ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
仅针对属于正在安装的功能的组件评估组件条件。他们只能排除该组件而不能包含该组件。
安装时,您必须使用 ComponentRef 元素使组件属于其他功能。组件可以与多个功能相关联。
Component conditions are only evaluated for components that belong to features that are being installed. They can only exclude the component not include the component.
Install you must make the component belong to the other feature by using a ComponentRef element. Components are allowed to be associated with more then one feature.