About Registry key

G

Guest

Hi,
I have in a C# project this method to check if my com add-in alredy installed

private static bool IsAlreadyInstalled()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.ClassesRoot.OpenSubKey("MatarotToolbar.Connect");
return key != null;
}


It's return to me allways true, even I did uninstall to check it..any idea??

I tried to write:
"MatarotToolbar.Conne"
Then, it's return false (Connect -- >Conne ).
if I uninstall the com add-in, this key is still in the Registry??

Thank's
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top