/build/static/layout/Breadcrumb_cap_w.png

Need vb script to delete the registry value if it is there

HI,

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

Answers (2)

Posted by: anonymous_9363 15 years ago
Red Belt
0
- 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.
Posted by: JeanLedot 15 years ago
Orange Belt
0
Hello,

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.

http://vb.developpez.com/faqvbs/?page=II.7

Regards,
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ