Hi guys,
I’m trying to build a WiX project that must install files that contain
localized Korean characters, in their content and file names. Now, my file
code looks something like this:
<DirectoryRef Id="LangDir">
<Component Id="TestDocument.pdf"
Guid="{F45B4AAE-8B7A-40fd-A41B-464731BF7501}">
<File Id="TestDocument.pdf" KeyPath="yes"
Source="$(var.MAINLANGUAGE)!(loc.VariableTest)" />
</Component>
This is my localization string:
<String Id="VariableTest">표본 데이터.pdf</String>
This localization variable will point to the file and will compile and link
correctly if I reboot my XP system, setting the language for non-unicode
programs (system codepage) to Korean. Light fails with the following error
message, under Windows XP with a language for non-unicode programs set to
English:
light.exe : error LGHT0103 : The System cannot find the file ‘..FilePath\??
???.pdf’
This works correctly on the Korean environment like I said, but does anyone
know a work around to allow a Korean build on my English environment? In my
experience, “??”’s indicate a codepage conversion failure. It appears that
light is grabbing the system codepage rather than codepage defined in the WXL
files.
<WixLocalization Culture="ko-kr" Codepage="949"
xmlns="http://schemas.microsoft.com/wix/2006/localization">
Thanks for the help!
Reid
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users