From c8fba558734fa5535b4182bc6dc1cac7bdba98a0 Mon Sep 17 00:00:00 2001 From: ramonn Date: Fri, 23 Apr 2010 14:31:10 +0000 Subject: [PATCH] 2010-04-23 Ramon Novoa * modules/pandora_module_inventory.cc: Fixed a couple of XML tags. * installer/pandora.mpi: Added the vbs scripts to the installer. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/win32/ChangeLog | 6 ++++++ pandora_agents/win32/installer/pandora.mpi | 2 ++ .../win32/modules/pandora_module_inventory.cc | 11 +++++++++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 55532a0e7b..2b55b79275 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,9 @@ +2010-04-23 Ramon Novoa + + * modules/pandora_module_inventory.cc: Fixed a couple of XML tags. + + * installer/pandora.mpi: Added the vbs scripts to the installer. + 2010-04-21 Ramon Novoa * main.cc: Updated headers after tinyxml removal. diff --git a/pandora_agents/win32/installer/pandora.mpi b/pandora_agents/win32/installer/pandora.mpi index 28c7cadb90..ab164ddf02 100755 --- a/pandora_agents/win32/installer/pandora.mpi +++ b/pandora_agents/win32/installer/pandora.mpi @@ -292,6 +292,8 @@ File ::955A9B5D-775D-4C4B-07C6-1E457A3AEF04 -type dir -name text-base -active 0 File ::57A504DC-687C-F126-8B39-6A70F43C156A -name cmp.exe -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830 File ::B71D3B59-A60B-6C21-76D4-292FA73C1613 -name getreg.exe -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830 File ::DB77AA43-D4B7-239C-0F48-52502E17D4DC -name sort.exe -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830 +File ::7B1652FD-0C02-13A8-BAA8-1B6F8BB257A5 -name df.vbs -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830 +File ::558D0D7E-2D41-EA8A-325D-27FA08CE8B69 -name ps.vbs -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830 File ::EE3962D4-48B8-4715-B986-40794679FC89 -name ../bin/libcurl.dll -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16 File ::0C6E0B9F-E094-42D4-9376-EAC5E3E475F7 -name ../bin/libeay32.dll -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16 File ::03A7EA5A-D6FC-4427-B35C-0288C07813B6 -filemethod {Never overwrite files} -name ../bin/pandora_agent.conf -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16 diff --git a/pandora_agents/win32/modules/pandora_module_inventory.cc b/pandora_agents/win32/modules/pandora_module_inventory.cc index 00e696de87..e399096c76 100644 --- a/pandora_agents/win32/modules/pandora_module_inventory.cc +++ b/pandora_agents/win32/modules/pandora_module_inventory.cc @@ -325,9 +325,9 @@ Pandora_Module_Inventory::getXml() { if (current_module != prev_module) { - /* Close the previous datalist */ + /* Close the previous datalist and inventory_module*/ if (prev_module != "") { - module_xml += "\t\t\t\n"; + module_xml += "\t\t\t\n\t\t\n"; } module_xml += "\t\t\n\t\t\tgetDataOrigin(); @@ -353,6 +353,13 @@ Pandora_Module_Inventory::getXml() { prev_module = current_module; } + + /* Close the last datalist and module_inventory */ + module_xml += "\t\t\t\n\t\t\n"; + + /* Close inventory */ + module_xml += "\t\n"; + } /* Clean up */