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
    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))

    hope it helps

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

  • Sign In to post your comments