Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows File Version #63

Open
tlahti opened this issue Sep 20, 2013 · 0 comments
Open

Windows File Version #63

tlahti opened this issue Sep 20, 2013 · 0 comments

Comments

@tlahti
Copy link

tlahti commented Sep 20, 2013

The exe created by OCRA does not contain a File version. We have a testing and deployment management system that uses the Windows file version to track what version of a program is installed and whether or not it needs to be updated (and then downloads and installs new versions from a backend system).

It would be great if we could specify a Windows file version as an argument to OCRA, or better yet, as an environment variable set from within the ruby program being packaged. OCRA would then see to it that the packaged .exe returned a File version when the Win32 API call GetFileVersionInfo() is called on the resulting exe.

Examples:

ocra --windows-version 1.2.3.4 something.rb

and/or

!/usr/bin/ruby

ENV['OCRA_WINDOWS_FILE_VERSION'] = '1.2.3.4'
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant