in reply to Failed to check if registry key is exist
I'd suggest replacing your "" in the line where you're creating $UninstallRegistryPATH with single quotes, so you can just paste in the key name and not have to worry about doubling-up the \'s. Get the key name to paste in using regedit - right click on the key and choose "Copy Key Name".
Mike
I don't know if that will fix your issue, but when I do that with a key from my registry in the same subtree (I don't have your particular node installed) in my copy of your script, it works fine.
Mike
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Failed to check if registry key is exist
by roteme (Acolyte) on Feb 28, 2012 at 06:32 UTC | |
by RMGir (Prior) on Feb 28, 2012 at 12:53 UTC |
In Section
Seekers of Perl Wisdom