CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    4

    Smile to identify exe name

    hi everyone.. m working on finding details on the installed programs in add/remove feature. i want to know as to how to find exe name for these installed programs with exact location details. can anyone help me on this

  2. #2
    Join Date
    Jun 2005
    Posts
    1,255

    Smile Re: to identify exe name

    Programs can be installed in several ways.
    A popular way is to use a "xxxxx.inf" file. It contains pieces of information about the installation. It has to respect rules established by MS in order to be used by the install/uninstall APIs of Windows.
    So, I advise you to look for documentations about ".inf" files. But this is not a very simple subject, and sometimes softwares are installed without an ".inf" file. Good luck to you.

  3. #3
    Join Date
    Jan 2008
    Posts
    178

    Re: to identify exe name

    It's done with COM (IEnumInstalledApps in google)

  4. #4
    Join Date
    Apr 2004
    Location
    England, Europe
    Posts
    2,492

    Re: to identify exe name

    That list can currently be found in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

    However I'm pretty sure that this location could change in a future Windows release.
    My hobby projects:
    www.rclsoftware.org.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured