def METHOD_NAME (self, button):
    pkgs = self.answers.get('packages_installed', [])
    pkgs.append (self.package)
    self.answers['packages_installed'] = pkgs
    try:
        self.packagekit.InstallPackageName (0, 0, self.package)
    except:
        pass