Всем привет!
Почему-то не работает Version Info.
Даже пример от уважаемого Yashied'а выводит пустые значения. С чем это может быть связано?
Почему-то не работает Version Info.
Даже пример от уважаемого Yashied'а выводит пустые значения. С чем это может быть связано?
Код:
#Region
#AutoIt3Wrapper_Res_Language=1049
#AutoIt3Wrapper_Res_FileVersion=1.0.0.0
#AutoIt3Wrapper_Res_Description=Пример использования Version Info в AutoIt
#AutoIt3Wrapper_Res_LegalCopyright=©2010 Yashied
#AutoIt3Wrapper_Res_Comment=Демонстрационная программа
#AutoIt3Wrapper_Res_Field=OriginalFilename|MyProg.exe
#AutoIt3Wrapper_Res_Field=ProductName|Ресурсы в AutoIt
#AutoIt3Wrapper_Res_Field=ProductVersion|1.0
#EndRegion
MsgBox(0, 'Vesion Info', _
'File description: ' & FileGetVersion(@ScriptFullPath, 'FileDescription') & @CR & _
'File version: ' & FileGetVersion(@ScriptFullPath, 'FileVersion') & @CR & _
'Product name: ' & FileGetVersion(@ScriptFullPath, 'ProductName') & @CR & _
'Product version: ' & FileGetVersion(@ScriptFullPath, 'ProductVersion') & @CR & _
'Comments: ' & FileGetVersion(@ScriptFullPath, 'Comments') & @CR & _
'Copyright: ' & FileGetVersion(@ScriptFullPath, 'LegalCopyright') & @CR & _
'Original filename: ' & FileGetVersion(@ScriptFullPath, 'OriginalFilename'))