Esempio n. 1
0
		static void DeleteKey(ExtendedRegistry reg, string guid)
		{
			reg.DeleteSubkey("Software\\Classes\\CLSID\\" + guid + "\\ProgId");
			reg.DeleteSubkey("Software\\Classes\\CLSID\\" + guid + "\\InProcServer32");
			reg.DeleteSubkey("Software\\Classes\\CLSID\\" + guid);
		}
Esempio n. 2
0
		static void CreateKeys(ExtendedRegistry reg, string guid, string libraryId, string classId, string path)
		{
			reg.SetValue("Software\\Classes\\CLSID\\" + guid, null, classId + " Class");
			reg.SetValue("Software\\Classes\\CLSID\\" + guid + "\\InProcServer32", null, path);
			reg.SetValue("Software\\Classes\\CLSID\\" + guid + "\\ProgId", null, libraryId + "." + classId);
		}
Esempio n. 3
0
 static void DeleteKey(ExtendedRegistry reg, string guid)
 {
     reg.DeleteSubkey("Software\\Classes\\CLSID\\" + guid + "\\ProgId");
     reg.DeleteSubkey("Software\\Classes\\CLSID\\" + guid + "\\InProcServer32");
     reg.DeleteSubkey("Software\\Classes\\CLSID\\" + guid);
 }
		static string GetPathFromRegistry(ExtendedRegistry registry, string valueName)
		{
			return registry.GetValue("SOFTWARE\\TortoiseSVN", valueName) as string;
		}
Esempio n. 5
0
 static void CreateKeys(ExtendedRegistry reg, string guid, string libraryId, string classId, string path)
 {
     reg.SetValue("Software\\Classes\\CLSID\\" + guid, null, classId + " Class");
     reg.SetValue("Software\\Classes\\CLSID\\" + guid + "\\InProcServer32", null, path);
     reg.SetValue("Software\\Classes\\CLSID\\" + guid + "\\ProgId", null, libraryId + "." + classId);
 }