Click here to Skip to main content
11,711,750 members (77,450 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 17:32pm
tm9333605
Edited 7-Oct-12 19:38pm
(no name)285.5K
v2

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

  Print Answers RSS
0 CHill60 280
1 Sergey Alexandrovich Kryukov 264
2 OriginalGriff 170
3 Andy Lanng 160
4 Richard MacCutchan 130
0 CHill60 280
1 Sergey Alexandrovich Kryukov 125
2 Andy Lanng 120
3 Abhinav S 95
4 Maciej Los 95


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | 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