﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
933	FileGetVersion() generates error when File Version attribute values contain leading 0	dave.jong@…		"Using the FileGetVersion optional parameter to look at the ""FileVersion"" attribute, the function generates an error if the file version value contains a leading 0.


; Errors in reading File Versions with leading 0's
$File = @WindowsDir & ""\system32\quartz.dll"" ; Example File Version with leading 0

$LocalFileVersion = FileGetVersion($File,""FileVersion"") ; FileVersion attribute contains value: 6.05.2600.5731 (note leading 0 in minor version number)
Msgbox(64,""DEBUG"", ""File Version After First Instance: "" & $LocalFileVersion & "" @ERROR = "" & @error)
If $LocalFileVersion="""" Then
	$LocalFileVersion = FileGetVersion($File)
	Msgbox(64,""DEBUG"", ""File Version After Second Instance: "" & $LocalFileVersion & "" @ERROR = "" & @error)
EndIf
"	Bug	closed		AutoIt	3.3.0.0	None	No Bug		
