In trying to figure this out I thought I'd check the license dialog code: <Control Id="LicenseText" Type="ScrollableText" X="20" Y="60" Width="330" Height="140" Sunken="yes" TabSkip="no"> <Text SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" /> </Control>
Could anyone tell me what "!(wix.WixUILicenseRtf=$(var.licenseRtf))" means? Thanks Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: 21 August 2008 17:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Localisation of WixUILicenseRtf Thanks for the suggestions but unfortunately it does really fit in with the way localisation works. The localisation isn't applied until link time and variables are compile time. I think that is the root of the problem I am having, the license file is needed for the compiler but I am trying to delay it until the link. I think the ! is correct as that is how localisation variables are defined, I guess to differentiate them from compiler variables. Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Higgins Sent: 21 August 2008 10:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Localisation of WixUILicenseRtf Hi Neil, I'm not an expert & these might not work but they might help in some way (I haven't tested them but we do something similar - not same unfortunately). You could have something in StandardVars.wxi <?if $(var.WIXLanguage) = "ja-jp"?> <?define LCID = "1041"?> <?define myRFT = " License_ja-jp.rtf "?> And then have <String Id="LicenseRtf" Overridable="yes">$(var.myRFT)</String> And if that doesn't work just use <WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\Support\$(var.myRFT)" /> Finally, should the exclaimation mark be there? Support\!(loc.LicenseRtf)" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: 20 August 2008 19:32 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Localisation of WixUILicenseRtf Is it possible to have localised versions of WixUILicenseRtf? What I would like to do it something like this: <WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\Support\!(loc.LicenseRtf)" /> Then in my localisation file: <String Id="LicenseRtf" Overridable="yes">License_ja-jp.rtf</String> But that doesn't work. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users About Microsoft Ireland: www.microsoft.com/ireland Microsoft Ireland Operations Limited. A company incorporated and registered in Ireland number 256796. Microsoft Ireland Research. A company incorporated and registered in Ireland number 342235. Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users