Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of Installed Programs not showing my program C#

Im using this post to get a list of my installed Programs in C#

I have an application installed via Click once on my computer, and would now like to uninstall in without the user knowing.(Silently)

But My program isn't appearing on the list I generate. (it is in the Add and remove programs menu under control panel though)

I've even tried this post and this post to see if I can find it in the registry, to maybe use a batch script to uninstall it, but no luck finding it.

How would i find an application not showing up using the c# code to generate a list of programs installed on my computer to uninstall it?

EDIT - Results

I don't know if this might be why this is happening, but by using the code from the first link, i output my results to a textbox, and i get this, (Note the spaces, Maybe that's why?)

Code I have :

textBox1.Text += subkey.GetValue("DisplayName") + "\r\n";

RESULTS I GET

Windows Driver Package - Lenovo (ACPIVPC) System (12/15/2011 7.1.0.1)

HP LaserJet Professional M1130-M1210 MFP Series




Microsoft SQL Server 2008 R2 (64-bit)
Microsoft SQL Server 2008 R2 (64-bit)
Microsoft Visual J# 2.0 Redistributable Package - SE (x64)
Microsoft Visual Studio 2008 Remote Debugger - ENU
Microsoft Visual Studio 2010 Tools for Office Runtime (x64)


Intel PROSet Wireless

Synaptics Pointing Device Driver

Exception Hunter 2
like image 259
Ruan Avatar asked Jan 18 '26 17:01

Ruan


1 Answers

You should also check HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall on 64-bit systems since applications can also put their install information there and it is not a registry path that does any kind of synchronization or redirection.

like image 135
Mike Zboray Avatar answered Jan 20 '26 07:01

Mike Zboray



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!