List of Programes installed

S

Sanjay Kedare

Hi,

Is there any class in .NET which gives the list and
properties (Publishers, Folder, version) of the programs
installed on the machine.

Thanks in advance,
Sanjay Kedare
 
A

Anthony Moore

There is nothing in the .NET Framework V1.0 or V1.1 to provide this
information.

This information may be available in Win32, the Registry or some other
store. It might be worth asking questions or searching KBs or looking for
samples on this. If it is somewhere, you may be able to use PInvokes or the
Microsoft.Win32.Registry APIs to find it.

--------------------
Content-Class: urn:content-classes:message
From: "Sanjay Kedare" <[email protected]>
Sender: "Sanjay Kedare" <[email protected]>
Subject: List of Programes installed
Date: Thu, 10 Jul 2003 11:00:38 -0700
Lines: 8
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcNHDStPn45KFGiGQUijPxcfqb6agw==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:100798
NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
X-Tomcat-NG: microsoft.public.dotnet.general

Hi,

Is there any class in .NET which gives the list and
properties (Publishers, Folder, version) of the programs
installed on the machine.

Thanks in advance,
Sanjay Kedare


--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
P

Pete Wright

In a word, No.

You will need to use the registry classes to browse through the registry and
find out that way. It's not a trivial task.
Take a look at the Microsoft.Win32.Registry class, and the various articles
in MSDN about working with the registry.

--
Peter Wright
Author of ADO.NET Novice To Pro, from Apress Inc.


_____________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top