# Rubyscript2exe: adding version, vendor, etc to exe resource

**URL:** <https://www.ruby-forum.com/t/rubyscript2exe-adding-version-vendor-etc-to-exe-resource/193065>\
**Category:** Ruby\
**Created:** [August 10, 2010, 5:00pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-adding-version-vendor-etc-to-exe-resource/193065 "2010-08-10T17:00:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![el-gato](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@el-gato](https://www.ruby-forum.com/u/el-gato)\
**Post date:** [August 10, 2010, 5:00pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-adding-version-vendor-etc-to-exe-resource/193065/1 "2010-08-10T17:00:52Z")

</div>

In general on Windows you can interrogate the “resource block” to get  
the version string, vendor string, etc. of an executable. Does anyone  
know how I could go about inserting this into a Ruby app that was  
compile with rubyscript2exe? I can’t find anything on it.

Basically, if someone were to run something similar to this discussion:

> <https://stackoverflow.com/questions/602802/command-line-tool-to-dump-windows-dll-version>

, I’d want the proper info to be returned.

Thoughts?

---

<div class="post-metadata">

**Author:** ![el-gato](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@el-gato](https://www.ruby-forum.com/u/el-gato)\
**Post date:** [August 10, 2010, 11:14pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-adding-version-vendor-etc-to-exe-resource/193065/2 "2010-08-10T23:14:11Z")

</div>

On Tue, Aug 10, 2010 at 10:00 AM, El Gato [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> In general on Windows you can interrogate the “resource block” to get  
> the version string, vendor string, etc. of an executable. Does anyone  
> know how I could go about inserting this into a Ruby app that was  
> compile with rubyscript2exe? I can’t find anything on it.

The rubyscript2exe docs mention resource hacker. It looks like it might  
do  
what you need.

[http://www.angusj.com/resourcehacker/](http://www.angusj.com/resourcehacker/)
