Wix Custom action #8773
Replies: 2 comments
-
WiX doesn't use issues for support. We moved this issue to the GitHub discussions area. You might also consider asking your question on Stack Overflow. |
Beta Was this translation helpful? Give feedback.
-
If you're trying to alter variables used in a Component Condition then you'd need to do this before the CostFinalize.
|
Beta Was this translation helpful? Give feedback.
-
WiX Version
5.0.1
.NET or MSBuild or Visual Studio Version
.NET 4
HeatWave Version
1.0.4.5
Windows Version
windows 2019 server
Repro Repo
No response
Repro Steps
4 call customaction before installfiles -
InstallExecuteSequence
Custom Action ="SetInstallCondition" Before="InstallFiles" //alo try some event like -CostInitialize
Custom>
5-in Logs property is setting correct value
Actual Result
custom_component not installing based on component
Expected Result
if custom action returning 13 then it should copy files under custom_component
when same condition apply on InstallFiles event it works but it will not install any component , compoent level condition should also works
--condition on installfiles as below
InstallExecuteSequence
InstallFiles Condition="INSTALL_CONDITION=13" // It works ,and skipped installfile action if value is not 13
Acknowledgements
Beta Was this translation helpful? Give feedback.
All reactions