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....
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)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
- 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.
- 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
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,
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.
so that the conversation will remain readable.