I've tried including a version resource in my Windows executable,
following the instructions for GrabVersion in the documentation. The
build process seems to be using the version info file (it errored out
when I introduced a syntax error), but the built .exe shows no version
information when I look at its Properties in Windows Explorer. I've
tried this with and without UPX.
For what it's worth, here's the contents of the version info file:
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(0, 5, 0, 0),
prodvers=(1, 0, 0, 1),
mask=0x3f,
flags=0x0,
OS=0x40004,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
'040904B0',
[StringStruct('FileDescription', 'Run all or some .sql files in
a folder'),
StringStruct('FileVersion', '1.0.0'),
StringStruct('OriginalFilename', 'RunSqlFiles.exe'),
StringStruct('ProductName', 'RunSqlFiles'),
StringStruct('ProductVersion', '1.0.0')])
]),
VarFileInfo([VarStruct('Translation', [1033, 1200])])
]
)
--
Don Dwiggins
Advanced Publishing Technology
_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller