I'm trying to replace the value of WixUILicenseRtf in the file Product.wxs here
<WixVariable Id="WixUILicenseRtf" Value="License.rtf"/>
I've used the command
candle.exe Product.wxs
and when I use
light.exe Product.wixobj -ext WixUIExtension -cultures:fr-fr -dWixUILicenseRtf=newlicense.rtf -loc Product_fr-FR.wxl -out French.msi
It claims that "The term -dWixUILicenseRtf=newlicense is not recognised as the name of a cmdlet, function, script file, or operable program."
What am I doing wrong here? Edit: I would like to point out that I made a similar question earlier. This concerns the syntax for doing things over command line, while the other one concerns automating the process through Visual Studio 2019.