MSI Factory 2.3

MSI.GetFileVersion

MSI.GetFileVersion

This is the first topic This is the last topic  

MSI.GetFileVersion

This is the first topic This is the last topic  

OverviewExamples

table MSI.GetFileVersion (

string FilePath )

Example 1

tbFileInfo = MSI.GetFileVersion(_TempFolder.."\\Extracted\\setup.exe");

 

if (tbFileInfo) then

   Dialog.Message("File Info", "Version: "..tbFileInfo.Version.." Language: "..tbFileInfo.Language);

else

   nError = Application.GetLastError();

   Dialog.Message("Error", _tblErrorMessages[nError], MB_OK, MB_ICONEXCLAMATION);

end

Gets the version and language information from the file "setup.exe", and shows it in a dialog message.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us