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
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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.
Answered 06/26/2009 by: VBScab
Red Belt

Please log in to comment
0
Product Code is not confirmed. The script should work for any product code where DisplayName=Nachiket
Answered 06/26/2009 by: nkhawale
Senior Yellow Belt

Please log in to comment
0
wow got it thanks
Answered 06/26/2009 by: nkhawale
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity