Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to check for installed application

How to check for installed application

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++json
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chirag_chauhan
    wrote on last edited by
    #1

    Hi Guys, Can anyone guide me to check whether particular application is been installed on my machine or not thorugh coding (may be Windows API or MFC). Thanks in advance.

    D N D 3 Replies Last reply
    0
    • C chirag_chauhan

      Hi Guys, Can anyone guide me to check whether particular application is been installed on my machine or not thorugh coding (may be Windows API or MFC). Thanks in advance.

      D Offline
      D Offline
      Deian
      wrote on last edited by
      #2

      Try getting the installed applications list through the registry. Check HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

      1 Reply Last reply
      0
      • C chirag_chauhan

        Hi Guys, Can anyone guide me to check whether particular application is been installed on my machine or not thorugh coding (may be Windows API or MFC). Thanks in advance.

        N Offline
        N Offline
        Nibu babu thomas
        wrote on last edited by
        #3

        chirag_chauhan wrote:

        Can anyone guide me to check whether particular application is been installed on my machine

        This registry key holds some information ( Start->Run fetches commands from here ) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths This registry key also holds information on installed applications ("Open with" dialog fetches application names from here). HKEY_CLASSES_ROOT\Applications


        Nibu thomas A Developer Programming tips[^]  My site[^]

        C 1 Reply Last reply
        0
        • N Nibu babu thomas

          chirag_chauhan wrote:

          Can anyone guide me to check whether particular application is been installed on my machine

          This registry key holds some information ( Start->Run fetches commands from here ) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths This registry key also holds information on installed applications ("Open with" dialog fetches application names from here). HKEY_CLASSES_ROOT\Applications


          Nibu thomas A Developer Programming tips[^]  My site[^]

          C Offline
          C Offline
          chirag_chauhan
          wrote on last edited by
          #4

          Thanks a lot!!!!

          1 Reply Last reply
          0
          • C chirag_chauhan

            Hi Guys, Can anyone guide me to check whether particular application is been installed on my machine or not thorugh coding (may be Windows API or MFC). Thanks in advance.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Short of searching the entire disk(s), there's no sure-fire way of finding such information. You could look in places like HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths, but those are only as good as the applications themselves. An application is not required to update those registry keys.


            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

            "Judge not by the eye but by the heart." - Native American Proverb

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups