After some strugling, re-doing and starting from scratch again, I managed to get the version information hooked into the compile process. With severalthings still to do (see below), now I would like to know:
- Am I on the right track? - Have I hooked in on the right places?- Where did I go wrong, and where not?
Current status: - the rc file has to be created by hand. - you can select in the project options if you want to use version info. - if so, you can also select if you want to auto-update the build number. - if selected the build number will be updated. - if you deselect the use of versioninfo, the rc file is not updated anymore and is not re-compiled, however the "old" info is kept in the executable(see todo).
Things to do:
- Include the other Version Info fields:
- "Comments"
- "CompanyName"
- "FileDescription"
- "InternalName"
- "LegalCopyright"
- "LegalTrademarks"
- "OriginalFilename"
- "ProductName"
- "ProductVersion"
- Also include the additional fields:
- "Translation" (this is one line in the rc file, but contains 2
fields:
Language and Character Set)
- Detect if the build of the application itself went ok or not and keep
build-number accordingly.
- Removal of the Version Info, when user decides to not use it anymore.
So, ladies and gentlemen, your comments please...
Cheers,Jouke
PS I hope I created the patch the right way etc.???PS2 the number in the filename of the patch is just for my own reference.
zippyeoF6g5es.zip
Description: Zip archive
