You have to overwrite the default WiX dialog e.g. in WixUI_InstallDir with a modified LicenseAgreementDlg.wxs:
1.) get the WiX Source code 2.) from there add copies from src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs + LicenseAgreementDlg.wxs to your solution renamed as MyLicenseAgreementDlg.wxs + MyWixUI_InstallDir.wxs 3.) MyLicenseAgreementDlg.wxs change lines <Dialog Id="LicenseAgreementDlg" Width="370" Height="270" Title="!(loc.LicenseAgreementDlg_Title)"> --> <Dialog Id="MyLicenseAgreementDlg" Width="370" Height="270" Title="!(loc.LicenseAgreementDlg_Title)"> <Control Id="LicenseText" Type="ScrollableText" X="20" Y="60" Width="330" Height="140" Sunken="yes" TabSkip="no"> <Text SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" /> </Control> --> <Control Id="LicenseText" Type="ScrollableText" X="20" Y="60" Width="330" Height="140" Sunken="yes" TabSkip="no"> <Text SourceFile="!(loc.LicenseRtf)" /> </Control> 4.) WixUI_InstallDir.wxs change line <UI Id="WixUI_InstallDir"> --> <UI Id="MyWixUI_InstallDir"> Replace all four occurences of LicenseAgreementDlg with MyLicenseAgreementDlg 5.) Change in the main wxs the reference to the modified MyWixUI_InstallDir <UIRef Id="WixUI_InstallDir"/> --> <UIRef Id="MyWixUI_InstallDir"/> 6.) Add for every language a localization file with at least the following content: <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="en-US" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id="Language">1033</String> <String Id="LicenseRtf">Languages\EnglishLicenseAgreement.rtf</String> </WixLocalization> Here LicenseRtf is the location of the localized License Agreement Regards Tobias 2011/2/18 Michael Tissington <michael_tissing...@ciqual.com>: > How can I dynamically set the value of WixUILicenseRtf? > > I have tried <WixVariable Id="WixUILicenseRtf" Value="[PROPERTY_NAME]"/> > > What I'm trying to do is for each localization to use a different license.rtf. > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users