The accepted answer is incorrect when you want to convert it into a complete sequence of user actions and sequences (no more?).
According to the documentation for WiX 3, SetProperty Element
Without installing SetProperty \ @Action
<SetProperty Id="OUTPORT" Before="InstallFiles" Value="80"><![CDATA[SSL=0]]></SetProperty> <SetProperty Id="OUTPORT" Before="InstallFiles" Value="443"><![CDATA[SSL=1]]></SetProperty> Duplicate symbol 'CustomAction:SetInstallFiles' found
Action . Line. By default, the action is "Set" + the value of the Id attribute. This optional attribute can override the name of the action in the case when several SetProperty elements are aimed at the same identifier (possibly with mutually exclusive conditions).
The following actions are not modified to record user actions.
<SetProperty Action="SetInstallFiles0" Id="OUTPORT" Before="InstallFiles" Value="80"><![CDATA[SSL=0]]></SetProperty> <SetProperty Action="SetInstallFiles1" Id="OUTPORT" Before="InstallFiles" Value="443"><![CDATA[SSL=1]]></SetProperty>
It works on WiX 3.7, and I'm not sure which first version it is available in.
source share