Hi Everyone,

I'm having a hard time getting localization to work properly.  I've got a
WiX project that builds and links everything perfectly fine when I use
VS2005 with votive and wix 3.0.  However, when the build machine tries to
build, it throws an error for just about every single variable, as they
don't exist.  What am I doing wrong?

Here is one of the many errors I'm getting:
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\Common.wxs(17): error
LGHT0102: The localization variable !(loc.UITextbytes) is unknown.  Please
ensure the variable is defined.

Here is my NAnt task:
<target name="CreateSetupPackageUsingWiX" description="Create the installer
package using WiX Script">
    <loadtasks
assembly="${ToolsPath}\WiX\Microsoft.Tools.WindowsInstallerXml.NAntTasks.dll"
/>
    <candle out="${SetupDeployDirectory}\" exedir="${ToolsPath}\WiX\">
      <sources>
        <include name="${ExecutableName}.Setup.wxs" />
      </sources>
    </candle>
    <light out="${ExecutableName}.msi" exedir="${ToolsPath}\WiX\"
      locfile="${ToolsPath}\WiX\lib\wixui_en-us.wxl" rebuild="true">
      <sources>
        <include name="${ExecutableName}.Setup.wixobj" />
      </sources>
    </light>
</target>

The wixproj file also contains the en-US culture field as well, so I'm
confused why this error is popping up.  Is the NAnt task not working with
WiX 3.0 yet or something, or am I specifying the NAnt task wrong?

Thanks,
Brendan
-------------------------------------------------------------------------
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

Reply via email to