Localizing the EULA
All of the dialogs sets from the WixUIExtension
display an End User's License Agreement (EULA). It's always in English, defaulting to an RTF file called License.rtf
in the WixUIExtension
source files. You'll want to replace this with your own agreement and at the same time localize it. Luckily, all you have to do is specify a path to your own RTF file with the link-time variable WixUILicenseRtf
. The following line, which you can place in your main .wxs
file, replaces the default license agreement with a custom one:
<WixVariable Id="WixUILicenseRtf" Value="CustomAgreement.rtf" />
You can also set this value from the command line when calling Light via the -d
flag:
Light.exe -dWixUILicenseRtf=CustomAgreement.rtf -loc es_es.wxl -cultures:es-es -ext WixUIExtension.dll -out "es-es\AwesomeSoftware.msi" .\*.wixobj
Another option is to set it from within Visual Studio. Right-click on the project, select Properties, and add the variable in the text field...