The compiler recognizes the "UI" element in the WixLocalization schema that
"allows a localization to override the position, size, and text of dialogs
and controls". The WixStdBA also supports this WXL feature however the
corresponding element is named "Control" instead of "UI". Is this
difference intentional or is it a bug?

The responsible code is in functionParseWxlControls in
src/dutil/locutil.cpp:

@@ -337,7 +337,7 @@
     IXMLDOMNodeList* pixnl = NULL;
     DWORD dwIdx = 0;

-    hr = XmlSelectNodes(pElement, L"Control", &pixnl);
+    hr = XmlSelectNodes(pElement, L"UI", &pixnl);
     ExitOnLastError(hr, "Failed to get Control child nodes of Wxl File.");

     hr =
pixnl->get_length(reinterpret_cast<long*>(&pWixLoc->cLocControls));
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to