ResultVariable
When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
MSI.GetFileVersion
OverviewExamples
table MSI.GetFileVersion ( string FilePath )
De s cr ip t ion
Calls the MsiGetFileVersion function to get the version and language strings in the format that the installer expects to find them in the database.
P arame t er s
FilePath
(string) The full path to the file whose version/language information you want.
Re t u r n s
(table) Returns a table indexed by the following values:
KEY |
TYPE DESCRIPTION |
|
Version |
string |
The file version. |
Language |
string |
The file language. |
If the action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.