Parse the WMI packages output.

def ParseMultiple(self, result_dicts):
    """Parse the WMI packages output."""
    status = rdf_client.SoftwarePackage.InstallState.INSTALLED
    packages = []
    for result_dict in result_dicts:
      packages.append(
          rdf_client.SoftwarePackage(
              name=result_dict["Name"],
              description=result_dict["Description"],
              version=result_dict["Version"],
              install_state=status))

    if packages:
      yield rdf_client.SoftwarePackages(packages=packages)