You must Sign In to post a response.
  • Category: XML

    How to check if required software is installed ?


    Are you looking for a way to know if required software is installed ? then read this thread to know more about it



    Verify- The required software installed on server
    in Microsoft .Net Framework 4 Extended.

    send the batch file as early as possible.
  • #743202
    When you installed ay program in machine, then it could be seen in "Add-Remove Programs", you cn check out for registry key as following
    "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall inside CurrentUser"
    see below link for more detail
    http://mdb-blog.blogspot.in/2010/09/c-check-if-programapplication-is.html
    Here is the code to check in registry

    string regKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall";
    using(Microsoft.Win32.RegistryKey regKeyClass = Registry.LocalMachine.OpenSubKey(regKey))
    {
    foreach(string subkey_name in regKeyClass.GetSubKeyNames())
    {
    using(regKey subkey = regKeyClass.OpenSubKey(subkey_name))
    {
    Console.WriteLine(subkey.GetValue("DisplayName"));
    }
    }
    }

    hope it helps

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]


  • Sign In to post your comments