Click here to Skip to main content
11,415,164 members (77,196 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VBScript
Hello,
I need a little help with searching the registry for a key using a .vbs file.
The information I have is:
For example I want to uninstall “Zune” from my client’s machine.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9B75648B-6C30-4A0D-9DE6-0D09D20AF5A5}]
"DisplayName"="Zune"
What I would like is to be able to search for "DisplayName"="Zune".
This part of the key is
The part that I need to see in a variable is “\{9B75648B-6C30-4A0D-9DE6-0D09D20AF5A5}]“ without the quotes.

This part looks like it is different of some computers.

Or get the “UninstallString” Value data into a variable.

let me know is anything was unclear and I will try to explain it a bit better.
Posted 7-Oct-12 18:32pm
tm9333605
Edited 7-Oct-12 20:38pm
(no name)270.4K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,200
1 OriginalGriff 7,512
2 Maciej Los 3,710
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web03 | 2.8.150427.4 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100