Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WiX installer: Product End User Agreement shows dummy text

I have an existing setup project. The end user license dialog shows dummy text (Lorum ipsum) instead of the default agreement. I have been trying to resolve the issue but I cannot figure out what to change and how to get the default end user licence agreement?

(I didn't post the codes because it has a lot of company's urls.)

But here a chunk for UI node:

<UI Id="MyWixUI_FeatureTree">
  <UIRef Id="WixUI_FeatureTree" />
  <UIRef Id="WixUI_ErrorProgressText" />

  <DialogRef Id="PlatformServiceDlg" />
  <DialogRef Id="IMDatabaseDetailsDlg"/>
  <DialogRef Id="EmailDatabaseDetailsDlg"/>
  <DialogRef Id="SMTPSettingsDlg"/>
  <DialogRef Id="EmailRecipientsDlg"/>
  <DialogRef Id="ServiceCredentialsDlg"/>

  <Publish Dialog="CustomizeDlg" Control="Next" Property="_BrowseProperty" Value="[DATA_DIRECTORY]" Order="1">1</Publish>

  <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="ServiceCredentialsDlg">1</Publish>
</UI>

The licence agreement looks like this :

enter image description here

like image 542
Avishekh Bharati Avatar asked Jan 26 '17 05:01

Avishekh Bharati


1 Answers

Answer:

You have to insert a line of code in between the product tag within Product.wxs file.

<WixVariable Id="WixUILicenseRtf" Value="test.rtf" />

For Value, insert the path of your .rtf file (mine was in root directory so no need to give the full path).

Note: Steps of creating your .rtf file:

  • Go to the directory where you want to create your .rtf file.
  • Type/ copy-paste your licensing text in the word-pad and save it with extension .rtf.
  • Give the path in the Value field.
  • rebuild your setup project.
  • verify your installation file.

May not apply to all: I could see that creating .rtf file using MS Word didn't work for me. It just displayed blank in the license area of the installer.

References: From Powell's comment here

like image 111
Avishekh Bharati Avatar answered Oct 19 '22 21:10

Avishekh Bharati