How to programmatically obtain the installation state of Visual Studio .NET or Visual Studio 2005 (884468)
The information in this article applies to:
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
INTRODUCTIONThis article describes how to programmatically obtain the installation state of Microsoft Visual Studio .NET or Microsoft Visual Studio 2005.
Typically, you can examine a file or a registry entry to determine whether you have a version of Microsoft Visual Studio .NET or a version of Microsoft Visual Studio 2005, or of any program, already installed on your computer. You can also programmatically determine the version information by using Microsoft Windows Installer functions such as the MsiQueryProductState function. The MsiQueryProductState function takes the product code as the input parameter and then returns the installation state of the program.
REFERENCESFor more information about the MsiQueryProductState function, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 2/28/2006 |
---|
Keywords: | kbvs2005applies kbvs2005swept kbhowto KB884468 kbAudDeveloper |
---|
|