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