In the WiX help documentation, Using Purely WiX for patching, the sample patch includes this section:
<Media Id="5000" Cabinet="RTM.cab">
<PatchBaseline Id="RTM"/>
</Media>
and the command to build the patch references ‘RTM’ as well:
pyro.exe patch\patch.wixmsp -out patch\patch.msp -t RTM patch\diff.wixmst
The docs say the PatchBaseline element “Identifies a set of product versions.”, but I’m not clear on what that means.
What does this element control, and what are the effects of changing or omitting it?
That element is less interesting than its child: Validate. Take a look at the attributes on Validate and you’ll see the different ways to target products with the patch. From the Remarks: