Click here to Skip to main content
12,895,062 members (62,319 online)
Rate this:
 
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
tm9333611
Updated 7-Oct-12 19:38pm
Mehdi Gholam334.6K
v2

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

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170424.1 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2017
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