It would be nice if it worked that way.

What I had to do was create me own licence dialog (I simply copied the
standard one) and then change the licence reference to:
        <Text SourceFile="$(var.ProjectDir)\!(loc.LicenseRtf)" />. 
Then in my wxl's I have code like this:
        <String Id="LicenseRtf"
Overridable="yes">Localisation\License.rtf</String>
        <String Id="LicenseRtf"
Overridable="yes">Localisation\License_ja-jp.rtf</String>

This really should be simpler, I must get round to raising a feature
request.

Neil

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: 03 September 2009 18:22
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to show different language license files?

Let me retract my solution. At one time they were in the same namespace,
but
it appears that doesn't work now.

Are you building from VS/MSBuild or from "command-line" (such as
makefile/nant/etc.)?

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Thursday, September 03, 2009 9:54 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to show different language license files?

Your license files MUST be RTF, not plain text.

WixVariables and WiX Localization values (even though they are accessed
using two different namespaces: var & loc) actually occupy the same
namespace. So, here is what you do:

In your .wxl files, create a string called WixUILicenseRtf. Remove the
entry
for licenseRtf from your .wixproj, and put that path in your English
.wxl
file as the value of the WixUILicenseRtf string. In your other .wxl
files
(for your other languages) you instead use the paths to your translated
RTF
license files.

-----Original Message-----
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] 
Sent: Thursday, September 03, 2009 1:46 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to show different language license files?

Hi Wix-users,
 
I want to show the license text in the license dialog. According to the
example, 
 
<Control Id="LicenseText" Type="ScrollableText" X="20" Y="60"
Width="330" Height="140" Sunken="yes" TabSkip="no">

<Text SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" />

</Control>

And in .wixproj, define:

licenseRtf=D:\Work\Program
Doc\Wix\src\ext\UIExtension\wixlib\license.rtf; 

Then the license dialog can show the license text. However, if I want to
show license as different language. How can I do it? I have alreay
different language license text files, like germany.txt, france.txt,
italy.txt.

 

Best regards,

 

Chunyan 

------------------------------------------------------------------------
----
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
----
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to