UninstallByKey: Difference between revisions
Jump to navigation
Jump to search
(→See also: fixed similar command link) |
(→Usage: added var types, updated example) |
||
| Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
UninstallByKey: | UninstallByKey:<key(string)>,<partial(boolean)>[,advanced build parameters] | ||
===Examples=== | ===Examples=== | ||
UninstallByKey:" | UninstallByKey:"mymalware","0" | ||
This would detect the following registry key: | This would detect the following registry key: | ||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mymalware] | ||
"DisplayName"=" | "DisplayName"="This Is Malware" | ||
"UnInstallString"="\" | "UnInstallString"="\"C:\\Windows\\Malware\\MalwareUninstaller.exe\"" | ||
Revision as of 16:45, 22 February 2008
| This SBI command is outdated and will probably not be supported in Spybot-S&D 2.0. As of yet, it is unclear whether an automated conversion path exists. Automated conversion paths may also be less sufficient than a manual upgrade. We recommend that you take a look at RegyKey for a possible alternative command. |
Searches for uninstall information by the name of the registry key for that uninstaller.
Usage
UninstallByKey:<key(string)>,<partial(boolean)>[,advanced build parameters]
Examples
UninstallByKey:"mymalware","0"
This would detect the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mymalware] "DisplayName"="This Is Malware" "UnInstallString"="\"C:\\Windows\\Malware\\MalwareUninstaller.exe\""
Description
- Name of key, either full or partial, depending on second parameter.
- If you know only part of the name or a version number is included, set partial to 1, else use 0.