static void RemoveClsidFromRegistry(bool is64bit, string clsid)
        {
            RegistryHandle regKey  = RegistryHandle.GetBitnessHKCR(is64bit);
            string         baseKey = "Clsid\\" + clsid;

            regKey.DeleteKey(baseKey + "\\InprocServer32");
            regKey.DeleteKey(baseKey + "\\ProgID");
            regKey.DeleteKey(baseKey);
        }