WIX enable Windows feature
I have to check if some windows features are enabled beore installing my software. I can check it or install it using dism command line tool. I create a custom action to do this, but is there a way to do it in a "WIX native way" ? <Property Id="dism" Value="dism.exe" /> <CustomAction Id="InstallMSMQContainer" Property="dism" ExeCommand=" /online /enable-feature /featurename:MSMQ-Container /featurename:MSMQ-Server /featurename:MSMQ-ADIntegration" Return="check" Impersonate="yes" Execute="oncePerProcess"/> <InstallUISequence> <Custom Action="InstallMSMQContainer" After="CostFinalize" Overridable