How to remove program from Add/Remove Programs while the program is still installed ?

How to remove program from Add/Remove Programs while the program is still installed ?

Post by flahmeshes » Wed, 26 Oct 2005 23:42:03


After I installed a program, there is a new entry in the "Add/Remove
Program". Is it possible to remove the entry while the program is
still installed ? Thanks.
 
 
 

How to remove program from Add/Remove Programs while the program is still installed ?

Post by MV » Thu, 27 Oct 2005 00:07:09


Hi,

Yes, you can do that by manipulating registry values under the app's
entry under the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

Two different ways depending on installer technology:

1)
If the app is installed with Windows Installer technology, the key
that contains the app's uninstall information have a value
"WindowsInstaller" that is set to 1 (REG_DWORD).

In this case, do the following to hide the entry in ARP:

Create a new registry value of type REG_DWORD, and give it the name
SystemComponent and set the value to 1.


2)
If no WindowsInstaller entry is found, delete the DisplayName registry
value.



--
torgeir, Microsoft MVP Scripting, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.yqcomputer.com/