Add/remove programs info


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Add/remove programs info

  1. #1
    Ivan Guest

    Add/remove programs info


    Is there any API function that can return a list of installed
    software on machine (like the list in Add/remove programs utility
    from Control panel)?
    Thanks.
    Ivan

  2. #2
    chris Guest

    Re: Add/remove programs info



    Hi
    not sure about an api function but you can find them in the registry, ie

    (this is for winzip, all (well most) your apps will have a key under the

    '\Uninstall' part....

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
    CurrentVersion\Uninstall\WinZip 6.3 r1

    look for the following string value...

    'DisplayName'

    remember this is the path for Windows NT, it may be different on other versions
    of windows.

    if you execute the data value
    (ie C:\\PROGRA~1\\WinZip\\UNINSTAL.EXE C:\\PROGRA~1\\WinZip\\INSTALL.LOG)
    in the following string value

    'UninstallString'

    which lives within the same registry key, it will execute the uninstall
    program...



    hope this is useful

    chris

    "Ivan" <ivan.trpcic@poba.hr> wrote:
    >
    >Is there any API function that can return a list of installed
    >software on machine (like the list in Add/remove programs utility
    >from Control panel)?
    >Thanks.
    >Ivan



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center