Difference between revisions of "UninstallByKey"

From SpybotWiki
Jump to: navigation, search
(See also: fixed similar command link)
(Usage: added var types, updated example)
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
  UninstallByKey:[key name],[(boolean)partial],<advanced build parameters>
+
  UninstallByKey:<key(string)>,<partial(boolean)>[,advanced build parameters]
  
 
===Examples===
 
===Examples===
  UninstallByKey:"bdeplayer",“0“
+
  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\bdeplayer]
+
  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mymalware]
  "DisplayName"="b3d Projector"
+
  "DisplayName"="This Is Malware"
  "UnInstallString"="\"D:\\WINNT\\bde\\BDEClean.exe\""
+
  "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

  1. Name of key, either full or partial, depending on second parameter.
  2. If you know only part of the name or a version number is included, set partial to 1, else use 0.

See also

Similar commands