Opened 8 years ago
Closed 8 years ago
#3522 closed Bug (No Bug)
FileGetVersion
Reported by: | moderncareca@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.14.2 | Severity: | None |
Keywords: | FileVersion | Cc: |
Description
ConsoleWrite(FileGetVersion (@ScriptDir&"\SciTE4AutoIt3.exe", "FileVersion") &@CRLF)
Outputs ${MyVersion}
Whereas if there's no parameter, outputs the version correctly.
Other lines like:
ConsoleWrite(FileGetVersion (@ScriptDir&"\SciTE4AutoIt3.exe", "Comments") &@CRLF)
ConsoleWrite(FileGetVersion (@ScriptDir&"\SciTE4AutoIt3.exe", "CompanyName") &@CRLF)
ConsoleWrite(FileGetVersion (@ScriptDir&"\SciTE4AutoIt3.exe", "FileDescription") &@CRLF)
Work as intended and retrieve the strings.
Attachments (0)
Change History (2)
comment:1 Changed 8 years ago by anonymous
comment:2 Changed 8 years ago by Jos
- Resolution set to No Bug
- Status changed from new to closed
FileGetVersion with a parameter will return the information found in the "StringFileInfo" block, so I am marking this as No-Bug.
Jos
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
The output of ${MyVersion} is no bug as that actually returns what is (wrongly) stored in that section by the NSIS generated EXE.
Jos