I need a vbscript to delete the registry by the checking the value.

My application is having following key.

HKLM\Software\Java Soft\Java Runtime Environment
Value is Vesion 1.4.2_08

Here I need to delete the Java Runtime Environment key by checking whether it is having a value of 1.4.2._08. If this key has different version they it shouldn't delete.

Please help me....
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


- Perhaps you'd like to delete this question and re-post it in the 'Scripting' forum?
- There must be thousands of sample scripts available for download on manipulating registry entries. IIRC, I have already pointed you to several VBScript sites in response to previous posts. Even if I hadn't, the signature at the foot of any of my responses to you must surely by now be making some impression? For pity's sake, use the tools which are already at your disposal first, then post.
Answered 01/21/2009 by: VBScab
Red Belt

Please log in to comment

It's true that this topic is not about package developpment... so please next time, post your message in Scripting forum.

Anyway, I can give you this link : (sorry it's in french but, vbs instructions and sample are in english). I think that you will find your answer.


Answered 01/21/2009 by: JeanLedot
Orange Belt

Please log in to comment