1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| # UTF-8 # # For more details about fixed file info 'ffi' see: # http://msdn.microsoft.com/en-us/library/ms646997.aspx VSVersionInfo( ffi=FixedFileInfo( # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) # Set not needed items to zero 0. filevers和prodvers应该始终是包含四个项的元组:(1、2、3、4),将不需要的项设置为0 filevers=(1, 0, 0, 0), # 文件版本******,鼠标悬浮exe会显示,也显示在 详细信息-文件版本,这个是检测版本的依据 prodvers=(3, 6, 0, 0), # 生产商,未见显示在哪里 # Contains a bitmask that specifies the valid bits 'flags'r mask=0x3f, # 两个位掩码 # Contains a bitmask that specifies the Boolean attributes of the file. flags=0x0, # The operating system for which this file was designed. # 0x4 - NT and there is no need to change it. OS=0x40004, # 为其设计此文件的操作系统,0x4-NT,无需更改它 # The general type of file. # 0x1 - the file is an application. fileType=0x1, # 文件的常规类型,0x1-该文件是一个应用程序 # The function of the file. # 0x0 - the function is not defined for this fileType subtype=0x0, # 文件的功能,0x0表示该文件类型未定义 # Creation date and time stamp. date=(0, 0) # 创建日期和时间戳 ), kids=[ StringFileInfo( [ StringTable( u'080404b0', [StringStruct(u'CompanyName', u'515code.com'), # 公司,鼠标悬浮exe会显示 StringStruct(u'FileDescription', u'如如的回单-流水双向核查工具'), # 文件说明,鼠标悬浮exe会显示,也会显示在 详细信息-文件说明 StringStruct(u'FileVersion', u'1.0.0.0'), # 没见哪里显示 StringStruct(u'LegalCopyright', u'Copyright (C) 2023 515code.com'), # 版权,会显示在 详细信息-版权 StringStruct(u'ProductName', u'双向核查工具'), # 原始文件名,会显示在 详细信息-原始文件名 StringStruct(u'ProductVersion', u'1.0.0.0')]) # 产品版本,会显示在 详细信息-产品版本 ]), VarFileInfo([VarStruct(u'Translation', [2052, 1200])]) # 语言,中文简体 ] )
|