In the mean time I've pushed https://hg01.codeplex.com/tortoisehg/rev/a51bc9725e12 which at least sets the copyright correctly for hgtk.exe, hg.exe and thgtaskbar.exe (was released with 0.9.3).
Digging further, I've started reading the sources of py2exe [1], and learned that we can specify the product version string (!) for the version resource with the py2exe parameter 'product_version'. Hacking setup.py using the experimental patch below indeed produces a nice separate string product version resource entry (see screenshot http://bitbucket.org/abuehl/thg-abuehl/downloads/hgtk-exe-properties-shot.PNG ) Note that Windows Installer doesn't care about product version strings of files, so it has pure commentary function. But it would be really nice to have our full version info there. Next question is how to reorganize setup.py, so that we only feed the 'W.X.Y.Z' version part (without '+...') into the version param and the full version string into product_version for py2exe. Looks like there's some refactoring needed in setup.py (sigh). diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -119,7 +119,8 @@ def setup_windows(): 'copyright':hgcopyright}, {'script':'hgtk', 'icon_resources':[(0,'icons/thg_logo.ico')], - 'copyright':thgcopyright}, + 'copyright':thgcopyright, + 'product_version':'99.88.77.66+48-61c33232badc'}, {'script':'contrib/docdiff.py', 'icon_resources':[(0,'icons/TortoiseMerge.ico')], 'copyright':thgcopyright} @@ -213,7 +214,8 @@ except ImportError: version = 'unknown' setup(name="tortoisehg", - version=version, + #version=version, + version='99.88.77.66', author='Steve Borho', author_email='st...@borho.org', url='http://tortoisehg.org', [1] http://py2exe.svn.sourceforge.net/viewvc/py2exe/trunk/py2exe/py2exe/build_exe.py?revision=687&view=markup ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop