I have "LICENSE.rtf" files for each language. I have defined a property in WIX script which indicates language code, such as "ja" for Japanese. In License dialog box I want to display text for license agreement through source file that I specify in "SourceFile" attribute. I want to constitute path for this source file using property that I have defined for language code, for Japanese it should take text from "../resource/ja/LICENSE.rtf" file similarly for English it should take from "../resource/en/LICENSE.rtf". I tried using "../resource/[langcode]/LICENSE.rtf" this but I am getting an error. Please let me know if anybody has done this.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to constitute path for "SourceFile"
Started by
Amol_MSI
, Nov 27 2008 09:02
1 reply to this topic
Posted 12 December 2008 - 15:01
For the scrollable text control the RTF content gets embedded diretly in the control table at build time.
If you need to switch the language at runtime (and therefore can't use a language transform, which would be the standard metod for localization) you can stack multiple of these scrollable text control on top of each other, one per languge. Then use conditions to make one of them visible at runtime.
If you need to switch the language at runtime (and therefore can't use a language transform, which would be the standard metod for localization) you can stack multiple of these scrollable text control on top of each other, one per languge. Then use conditions to make one of them visible at runtime.
Stefan Krüger
InstallSite.org twitter facebook