+ xmlNode *windows_node;
+ xmlNode *langs_node;
+ xmlNode *version_node;
+ const tchar *text;
+
+ windows_node = xml_get_node_by_path(image_node, "WINDOWS");
+ if (!windows_node)
+ return;
+
+ tprintf(T("Architecture: %"TS"\n"),
+ describe_arch(xml_get_number_by_path(windows_node, "ARCH")));
+
+ text = xml_get_ttext_by_path(info, windows_node, "PRODUCTNAME");
+ if (text)
+ tprintf(T("Product Name: %"TS"\n"), text);
+
+ text = xml_get_ttext_by_path(info, windows_node, "EDITIONID");
+ if (text)
+ tprintf(T("Edition ID: %"TS"\n"), text);
+
+ text = xml_get_ttext_by_path(info, windows_node, "INSTALLATIONTYPE");
+ if (text)
+ tprintf(T("Installation Type: %"TS"\n"), text);
+
+ text = xml_get_ttext_by_path(info, windows_node, "HAL");
+ if (text)
+ tprintf(T("HAL: %"TS"\n"), text);
+
+ text = xml_get_ttext_by_path(info, windows_node, "PRODUCTTYPE");
+ if (text)
+ tprintf(T("Product Type: %"TS"\n"), text);
+
+ text = xml_get_ttext_by_path(info, windows_node, "PRODUCTSUITE");
+ if (text)
+ tprintf(T("Product Suite: %"TS"\n"), text);
+
+ langs_node = xml_get_node_by_path(windows_node, "LANGUAGES");
+ if (langs_node) {
+ xmlNode *lang_node;
+
+ tprintf(T("Languages: "));
+ node_for_each_child(langs_node, lang_node) {
+ if (node_is_element(lang_node, "LANGUAGE")) {
+ tfputs(node_get_ttext(info, lang_node), stdout);
+ tputchar(T(' '));
+ }
+
+ }
+ tputchar(T('\n'));
+
+ text = xml_get_ttext_by_path(info, langs_node, "DEFAULT");
+ if (text)
+ tprintf(T("Default Language: %"TS"\n"), text);
+ }
+
+ text = xml_get_ttext_by_path(info, windows_node, "SYSTEMROOT");
+ if (text)
+ tprintf(T("System Root: %"TS"\n"), text);
+
+ version_node = xml_get_node_by_path(windows_node, "VERSION");
+ if (version_node) {
+ tprintf(T("Major Version: %"PRIu64"\n"),
+ xml_get_number_by_path(version_node, "MAJOR"));
+ tprintf(T("Minor Version: %"PRIu64"\n"),
+ xml_get_number_by_path(version_node, "MINOR"));
+ tprintf(T("Build: %"PRIu64"\n"),
+ xml_get_number_by_path(version_node, "BUILD"));
+ tprintf(T("Service Pack Build: %"PRIu64"\n"),
+ xml_get_number_by_path(version_node, "SPBUILD"));
+ tprintf(T("Service Pack Level: %"PRIu64"\n"),
+ xml_get_number_by_path(version_node, "SPLEVEL"));
+ }