2

How to find using C# Microsoft Windows Installer 3.1 or later is installed in machine?Can anyone help me how to do this using C#. Thanks

4

1 回答 1

3

您可以检查此行是否返回高于 "3.0.1" 的版本号:

return System.Diagnostics.FileVersionInfo.GetVersionInfo(@"C:\Windows\System32\msi.dll").ProductVersion;
于 2013-06-25T10:24:48.220 回答