in reply to Re: Re: How to obtain a list of software applications installed on a Win based PC?
in thread How to obtain a list of software applications installed on a Win based PC?

You need to distinguish between what are termed "Keys" and what "Values". This may get you started.

#! perl -slw use strict; use Win32::Registry; use Data::Dumper; my $key; $HKEY_LOCAL_MACHINE->Open( "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall", $key ) or die $^E; my @keys; $key->GetKeys( \@keys ); for my $subkey ( @keys ) { $key->Open( $subkey, my $x ) or die $^E; my %vals; $x->GetValues( \%vals ); print Dumper \%vals; }

You may also want to consider Win32::TieRegistry.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
  • Comment on Re: Re: Re: How to obtain a list of software applications installed on a Win based PC?
  • Download Code