Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "MsiGetFileVersion" in [All]

msi

.
Summary
The MsiGetFileVersion returns the version string and language string in the format that the installer expects to find them in the database. If you want only version information, set lpLangBuf and pcchLangBuf to 0 (zero). If you just want language information, set lpVersionBuf and pcchVersionBuf to 0 (zero). The function returns a Windows error code.
.

static extern int MsiGetFileVersion(string szFilePath, System.Text.StringBuilder lpVersionBuf, ref int pcchVersionBuf, System.Text.StringBuilder lpLangBuf, ref int pcchLangBuf);

.
Documentation
[MsiGetFileVersion] on MSDN

 
Access PInvoke.net directly from VS: