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 2 2281
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" <sa***********@ yahoo.com> Sender: "Sanjay Kedare" <sa***********@ yahoo.com> Subject: List of Programes installed Date: Thu, 10 Jul 2003 11:00:38 -0700 Lines: 8 Message-ID: <00************ *************** *@phx.gbl> 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: AcNHDStPn45KFGi GQUijPxcfqb6agw == X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Newsgroups: microsoft.publi c.dotnet.genera l Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:100798 NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164 X-Tomcat-NG: microsoft.publi c.dotnet.genera l
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.
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.
_______________ ______________
"Sanjay Kedare" <sa***********@ yahoo.com> wrote in message
news:00******** *************** *****@phx.gbl.. . 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 thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Thomas Miller |
last post by:
Hello,
I have built a c# class library (I will call it "Assembly1"), and
built an installer that installs it. It is working well. I created a
new asp.net application, right-clicked on references and selected "add
reference". My "Assembly1" is not showing up under the list of
components under the .NET tab. I have to click "browse" and manually
locate the dll. How do I make it show up in the list of available .NET
objects?
Tom
|
by: Sanjay Kedare |
last post by:
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
|
by: Phoe6 |
last post by:
Hi all,
Part of my script is to check for pre-requisite rpms to be
installed.
If its installed, I just display the rpm version as in rpm database,
otherwise I output a message saying:
' rpm is not installed' and collect the rpm name in a list
(notInstalled).
At the end if the len(notInstalled) is greater than 0 then I display
them all asking it to be installed and exit the program.
My Script is below:
|
by: Steve Long |
last post by:
Hello. When you start up VS 2005, it displays the list of installed products
on it's splash(startup) screen. VS 2003 used to do this also before I
installed 2005. Does anyone know why my list of installed products
disappeared in VS 2003 after I installed 2005? Is there any way to get it
back?
Thanks in advance
Steve
|
by: Steve Long |
last post by:
Hello. (I posted this yesterday in the .net general group and got no
responses. Anybody here?)
When you start up VS 2005, it displays the list of installed products
on it's splash(startup) screen. VS 2003 used to do this also before I
installed 2005. Does anyone know why my list of installed products
disappeared in VS 2003 after I installed 2005? Is there any way to get it
back?
Thanks in advance
Steve
| |
by: dadapeer |
last post by:
Iam Using Win2000 Service Pack4
I My System.programe's List In Add And Remove Programe Nothing Is Populated.
I DONT WANT TO REINSTALL MY SYSTEM
PLS HELP ME.
|
by: Kevin Walzer |
last post by:
I'm trying to avoid a *lot* of typing in my Tkinter application by
associating image names with items in a list. Here is my sample list:
self.catlist =
I've also already created a bunch of images with names that correspond
to the list above, i.e. self.all, self.installed, and so on. Here's the
rest of my code:
for item in self.catlist:
|
by: Ali Rizwan |
last post by:
Hi,
I have made a Object Dock
Now the problem is that how can i detect the installed programes on PC.
And then detect their installation paths. And put them in a listbox or a combo box.
thanx
|
by: gcoaster |
last post by:
Hello,
* Access 2007
* Little Experience with VBA
I will try and make this as clear as I can.
ISSUE
I have a database that has information for Clients and their Computers.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |