code: def ParseMultiple(self, result_dicts):
      
      status = rdf_client.SoftwarePackage.InstallState.INSTALLED
  
      packages = []
      for result_dict in result_dicts:
        result = result_dict.ToDict()
  
        # InstalledOn comes back in a godawful format such as '7/10/2013'.
        installed_on = self.AmericanDateToEpoch(result.get("InstalledOn", ""))
        packages.append(
            rdf_client.SoftwarePackage(
                name=result.get("HotFixID"),
                description=result.get("Caption"),
                installed_by=result.get("InstalledBy"),
                install_state=status,
                installed_on=installed_on))
  
      if packages:
        yield rdf_client.SoftwarePackages(packages=packages)
docs: Parse the WMI packages output.