VBS to search value and return key where that value is present
Hi ;
I am in great need of VBS which will search registry HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall for the value DisplayName=Nachiket. If found then return or delete the key where this value is present. Can anybody help ?
regards
I am in great need of VBS which will search registry HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall for the value DisplayName=Nachiket. If found then return or delete the key where this value is present. Can anybody help ?
regards
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Get the Registry class file from JSWare http://www.jsware.net
It has a selection of enumeration functions like EnumKeys and EnumValues which you can use. They populate Dictionary objects which you can then test for content.
BTW, would it not be easier to search for the ProductCode? Theapplication's ProductCodes are what form the GUIDs you see beneath the 'Uninstall' branch.
It has a selection of enumeration functions like EnumKeys and EnumValues which you can use. They populate Dictionary objects which you can then test for content.
BTW, would it not be easier to search for the ProductCode? Theapplication's ProductCodes are what form the GUIDs you see beneath the 'Uninstall' branch.
Posted by:
nkhawale
13 years ago

so that the conversation will remain readable.