MDAC/WDAC isn't currently listed among softwares detected on MS boxes. To include them, please add the following lines to audit.vbs, just after the end of the "Installed Codecs" section: [code] comment = "MDAC/WDAC, DirectX, Media Player, IE and OE Versions" if verbose = "y" then wscript.echo comment end if
' Add MDAC/WDAC to the Software Register strKeyPath = "SOFTWARE\Microsoft\DataAccess" strValueName = "Version" oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dac_version if SystemBuildNumber <> "6000" then display_name = "MDAC" else display_name = "Windows DAC" end if form_input = "software^^^" & display_name & "^^^" _ & dac_version & "^^^" _ & "" & "^^^" _ & "" & "^^^" _ & OSInstall & "^^^" _ & "Microsoft Corporation^^^" _ & "" & "^^^" _ & "" & "^^^" _ & "http://msdn2.microsoft.com/en-us/data/default.aspx" & "^^^ " entry form_input,comment,objTextFile,oAdd,oComment form_input = ""
[/code] Then, to include also MSXML, .Net Framework and MDAC/WDAC to the OS settings - Software system viewdef and change layout to horizontal, replace as follows the "software" section in system_viewdef_os.php [code] "software"=>array( "headline"=>__("Software"), "sql"=>"SELECT software_name, software_version FROM software, system WHERE system_uuid = '".$_REQUEST["pc"]."' AND software_uuid = system_uuid AND software_timestamp = system_timestamp AND (software_name LIKE 'Internet Explorer%' OR software_name LIKE 'DirectX%' OR software_name = 'Windows Media Player' OR software_name LIKE 'MSXML%' OR software_name LIKE 'Microsoft .NET Framework%' OR software_name = 'MDAC' OR software_name = 'Windows DAC') AND software_name NOT LIKE '%Language Pack%' AND software_name NOT LIKE '%hotfix%' ORDER BY software_name ", "table_layout"=>"horizontal", "image"=>"images/software_l.png", "fields"=>array("10"=>array("name"=>"software_name", "head"=>__("Name"),), "20"=>array("name"=>"software_version", "head"=>__("Version"),), ), ), [/code] Finally, to modify accordingly the Full PDF report also, change as follows the "system_software" section in system_viewdef_report_full.php [code] "system_software"=>array( "headline"=>__("System Software"), "sql"=>"SELECT software_name, software_version FROM software, system WHERE system_uuid = '".$pc."' AND software_uuid = system_uuid AND software_timestamp = system_timestamp AND (software_name LIKE 'Internet Explorer%' OR software_name LIKE 'DirectX%' OR software_name = 'Windows Media Player' OR software_name LIKE 'MSXML%' OR software_name LIKE 'Microsoft .NET Framework%' OR software_name = 'MDAC' OR software_name = 'Windows DAC') AND software_name NOT LIKE '%Language Pack%' AND software_name NOT LIKE '%hotfix%' ORDER BY software_name ", "table_layout"=>"horizontal", "fields"=>array("10"=>array("name"=>"software_name", "head"=>__("Name"),), "20"=>array("name"=>"software_version", "head"=>__("Version"),), ), ), [/code] Please, let me know if it's OK, particularly on Vista (not tested) where it should show Windows DAC instead of MDAC. Thanks
_________________ Edoardo
|