There is an issue involving light when trying to use a localized variable as the part of the source path. When attempting to resolve the path, light is using the system codepage instead of the product or localization file codepage. This unfortunately causes light to fail spitting out an error that looks like this:
C:\Localization Test\WiXProject1\WiXProject1\Product.wxs(12) : error LGHT0103 : The system cannot find the file "....\Source\????.txt"
The "????" is the localized string name (in this case, it is a Korean string).
Please let me know if you need further information.
Thank you,
Reid
Logged In: YES
user_id=26581
Originator: NO
Can you post the source (and .wxl fragment) that cause that error?
Logged In: YES
user_id=2009559
Originator: YES
Here's the call to light and candle:
REM Build Localizer Test
CALL "....\Install\WiX\Windows Installer XML v3\candle.exe" "WiXProject1\WiXProject1*.wxs" -out "WiXProject1\WiXProject1\wixobj\"
CALL "....\Install\WiX\Windows Installer XML v3\light.exe" "WiXProject1\WiXProject1\wixobj*.wixobj" -loc "WiXProject1\WiXProject1\Localize.wxl" -out "LocalizeTest.msi"
Here is the wxl codepage:
<wixlocalization culture="zh-CHS" codepage="936" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<string id="user-content-Test">事故数.txt</string>
</wixlocalization>
And the main wxs file:
<wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<product id="user-content-932a39b5-47d0-4ef2-a3b6-56aec4038716" name="WixProject1" language="1033" version="1.0.0.0" manufacturer="WixProject1" upgradecode="9c32334f-83f3-402c-92d3-1890751ad69c">
<package installerversion="200" compressed="yes"></package></product></wix>
Logged In: YES
user_id=2009559
Originator: YES
Just a quick note, I mentioned earlier it was a Korean string, but it is actually a Chinese string, so the codepage I used in the wxl is correct, sorry for any confusion.
Logged In: YES
user_id=991639
Originator: NO
Should be fixed in next build.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 15 days (the time period specified by
the administrator of this Tracker).