Beispiel #1
0
 public bool IsInstalled()
 {
     try
     {
         var key = RegistryExtension.Open32Or64BitSoftwareKey("Microsoft\\Windows\\CurrentVersion\\Uninstall\\{f65db027-aff3-4070-886a-0d87064aabb1}");
         return((int)key.GetValue("Installed", false) == 1);
     }
     catch (FailedToOpenKey)
     {
         return(false);
     }
 }
Beispiel #2
0
 public bool IsInstalled()
 {
     try
     {
         var key = RegistryExtension.Open32Or64BitSoftwareKey("Microsoft\\Windows\\CurrentVersion\\Uninstall\\{050d4fc8-5d48-4b8f-8972-47c82c46020f}");
         return((int)key.GetValue("Installed", false) == 1);
     }
     catch (FailedToOpenKey)
     {
         return(false);
     }
 }
 public bool IsInstalled()
 {
     try
     {
         var key = RegistryExtension.Open32Or64BitSoftwareKey("Microsoft\\VisualStudio\\11.0\\VC\\Runtimes\\x86");
         return((int)key.GetValue("Installed", false) == 1);
     }
     catch (FailedToOpenKey)
     {
         return(false);
     }
 }