in reply to Re^3: Scanning through Windows registry
in thread Scanning through Windows registry
Thanks for extra info
It seems there are work-a-rounds for the problem with 64bits registry, it is located here it lies in access rights
I managed to create a scrip to retrieve all subkeys, it's this
use Win32::TieRegistry( Delimiter=>"#", ArrayValues=>0 ); my $pound = $Registry->Delimiter("/"); # This syntax passes the HEX flag to access the 64 bit registry $BaseKey = $Registry->Open("HKEY_CLASSES_ROOT/Installer/Patches", {Acc +ess=> 0x20019|0x0100}); foreach $key (keys %$BaseKey) { print"$key: " . $BaseKey->{"$key"} . "\n" }
update
Found a way to retrieve all the PackageName value from: HKEY_CLASSES_ROOT/Installer/Patches/XXXXXXX/SourceList
Where XXXXXX = $key from example above
$SubbyKey = $Registry->Open("HKEY_CLASSES_ROOT/Installer/Patches/".$ke +y."SourceList/", {Access=> 0x20019|0x0100}); print $SubbyKey->{'PackageName'}."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Scanning through Windows registry
by SimonPratt (Friar) on Jan 13, 2015 at 11:04 UTC | |
by gepebril69 (Scribe) on Nov 13, 2015 at 17:38 UTC |