using System.Diagnostics;
using System.IO;
........
string msiPath = Environment.SystemDirectory + "\\" +
"msi.dll";
if (File.Exists(msiPath))
{
//Make sure version is 2.0 or greater
if
(FileVersionInfo.GetVersionInfo(msiPath).ProductMa jorPart < 2)
{
//Take action...
}
}
ro*********@gmail.com wrote:
How can I programmatically check to see if windows installer 2.0 is
installed? Is there
a registry setting I can check?
Thanks!