Replies: 4 comments 5 replies
-
Anyone? Seems like I am missing something very obvious. |
Beta Was this translation helpful? Give feedback.
-
By the way, I apologize for overreacting yesterday. I was frustrated that (very likely) a bug found right after releasing WiX v5. I appreciate you were trying to understand whether this was a new feature ( |
Beta Was this translation helpful? Give feedback.
-
This bug has been scheduled for WiX 6 only. What actually goes wrong is: If a standard action is explicitly mentioned as a child of a *Sequence element AND it is referred to by another “action scheduling element” in the same sequence, then we get the error WIX7009 at link time. Here, “referred to” means mention of the same action in “Before” or “After” attributes of other actions. These references can be in the same module or in a wixlib or even (seems to be a rare case though) within WiX code – in particular for “InstallValidate”, since there is some WiX Code that schedules RemoveExistingProducts after InstallValidate. I see only 2 potential workarounds:
|
Beta Was this translation helpful? Give feedback.
-
We have the following fragment to override FindRelatedProducts scheduling:
It compiles and works just fine in WIX 4, but after upgrading to WIX5 we get the following error:
Documentation gives an example of how to override the custom action, but I cannot figure out how to use this approach with FindRelatedProducts.
Beta Was this translation helpful? Give feedback.
All reactions