I'm trying to specify the licence for my wix setup project.
I have created a rtf with a few dummy lines in wordpad/notepad/vs tried a few different ways as I read there was an issue with ones created in word but I dont think that should apply here, in any case I also opened it up in notepad++ and verified there is no funky characters hidden in it.
I am specifying the file like so
<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\Resources\test.rtf" />
And the file exists under the project\Resources directory.
When I run the installer all that is shown in the licence area is a blank text box with no scroll bars etc.
Is there something else I should be doing?
It can be downloaded from WiX 3.0.5419.0 Source Forgesite. Download the wix3-sources.zip and go to \src\ext\UIExtension\wixlib. There you’ll find already translated all WiX texts in 12 Languages. Localizing the custom EULA license Here it gets ugly.
The default behaviour for a Wix website is as follows (with my interpretation in italics ): Requests to [ http ://domain.com] (javascript:;) are redirected to [ http ://**www.**domain.com] (javascript:;) (it adds www.) via an HTTP 301 redirect - that's okay
This error is typically resolved independently, but it would be best to check in with Wix support if it hasn’t disappeared within a few minutes. Discover must-have apps that will enhance the features of your Wix site. In addition to the issues mentioned above, you may also face some other technical problems while using the platform, including:
We can override the default EULA license easily by overriding WixUILicenseRtf WiX variable like this: <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />where License.rtf is the name of your custom EULA license file. The downside of this method is that you can only have one license file which means no localization for it.
Save the license.rtf from WordPad. See this webpage (http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html), specifically this section:
There is a known issue with the rich text control used to display the text of the license file that can cause the text to appear blank until the user scrolls down in the control. This is typically caused by complex RTF content (such as the RTF generated when saving an RTF file in Microsoft Word). If you run into this behavior in your setup UI, one of the following workarounds will fix it in most cases:
Open your RTF file in WordPad and save it from there in order to remove the complex RTF content from the file. After saving it, rebuild your MSI. Use a dialog set other than the WixUI_Minimal set. This problem typically only occurs when the license agreement screen is the first one displayed during setup, which only happens with the WixUI_Minimal dialog set.
Thanks to @Daniel Powell's decision
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With