https://github.com/tmcdos/pe32-version
Getting file version of PE-32 EXE files
https://github.com/tmcdos/pe32-version
file-version pe32 windows-executable
Last synced: 3 months ago
JSON representation
Getting file version of PE-32 EXE files
- Host: GitHub
- URL: https://github.com/tmcdos/pe32-version
- Owner: tmcdos
- License: mit
- Created: 2017-03-08T16:35:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-29T13:34:10.000Z (over 5 years ago)
- Last Synced: 2025-01-21T09:48:31.563Z (over 1 year ago)
- Topics: file-version, pe32, windows-executable
- Language: Pascal
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting file version of PE-32 EXE files
This small console utility takes as argument a path to EXE file (in Windows PE-32 format) and prints to STDOUT the file version from resource section (4 numbers delimited by dot)
I personally use this tool to implement auto-update of my desktop applications - the application sends a HTTP request to a REST API endpoint which invokes the tool (in a Linux environment) to get the version of the most recently deployed EXE. Then the application compares the response with its own version - and if it determines that there is a new version, it downloads the newer EXE and performs the auto-update.