Click here to Skip to main content
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 17:32pm
tm9333645
Edited 7-Oct-12 19:38pm
(no name)245.9K
v2

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

  Print Answers RSS
0 OriginalGriff 675
1 CPallini 320
2 Sergey Alexandrovich Kryukov 305
3 BillWoodruff 285
4 Peter Leow 255


Advertise | Privacy | Mobile
Web04 | 2.8.141029.1 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2014
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