473,385 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MSI WindowsInstaller.Installer List of products

Hi,
I am using the following code :
WindowsInstaller.Installer i = null;
Type oType = Type.GetTypeFromProgID("WindowsInstaller.Installer ");
if (oType != null)
{
i =
(WindowsInstaller.Installer)Activator.CreateInstan ce(oType);
}
WindowsInstaller.StringList s = i.Products;
foreach (string s1 in s)
{
WindowsInstaller.StringList sc = i.get_ComponentClients(s1);
foreach (string c in sc)
{
Console.WriteLine(i.get_ProductInfo(c, "ProductName"));
}
}

This code prints all the installed programs on my computer.
The problem is that hi skips some programs and i can't see them.
I check the add\remore program and i do see them there.

i tried to search for them by components, i couldn't find them.

Please help me with this problem .

Regards, Rony

Nov 1 '06 #1
0 2522

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Lou Lipnickey | last post by:
I am looking to package a java / swing / mysql application so that it can be installed primarily on Window based systems. I googled for "java mysql installer" and came up with a large number of...
2
by: Noah | last post by:
I'm currently writing install/setup scripts in bash and Python for installing our product on UNIX servers. Our products depends on several packages that need to be configured, compiled, and...
1
by: Nicodemus | last post by:
Hello list, On windows my company uses Inno Setup to generate installers for our products, and on Linux we usually use a simple shell script, but we would like to use the same installer...
2
by: Bill Henning | last post by:
Hi all... I have been using InstallShield to build our installers for our products. However I just found out that our version of InstallShield doesn't support 64-bit deploys and it costs $700 to...
0
by: Mike | last post by:
Hi, I have an application in which I try to use the installer functions. An Installer (WindowsInstaller.Installer) object must be initially created to access the installer functions. If I use...
1
by: yxq | last post by:
Hello, I want to get some installed application info(i.e. InstallLocation) using WindowsInstaller.Installer, can anyone provide some examples? thank you!
6
by: Brett | last post by:
I've created a Windows setup project in VS.NET 2003. The first setup ran fine minus creating the Program's group. I made some changes and rebuilt the MSI and setup.exe files. Now when I run the...
6
by: Marc | last post by:
This is probably a no brainer for the most of you but my head is spinning at the moment. Considering the following list how do I get a reference to the ul just below the li with id products?...
4
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows...
0
by: rony_16 | last post by:
Hi, I am using the following code : WindowsInstaller.Installer i = null; Type oType = Type.GetTypeFromProgID("WindowsInstaller.Installer"); if (oType != null) { i =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.