login about faq

My question is how can I set the file properties on the generated self-extracting EXE? I want to be able to set the File Description, File Version, Product Name, Product Version and Copyright fields.

asked Nov 14 '12 at 14:59

chilkat's gravatar image

chilkat ♦♦

It's possible to edit the properties of an EXE after it's been created using a tool such as HeavenTool's "Resource Tuner", available at http://www.heaventools.com/download-resource-editor.htm

The "Resource Tuner" is not freeware, but may be evaluated for 30-days, and can be licensed for a reasonable price ($39.95 at the time of this writing).

However, the EXE must first be modified prior to editing with Resource Tuner. The compressed data must be detached from the EXE, then it's possible to edit with Resource Tuner, and then the compressed data may be re-attached. I wrote a simple command-line utility program to do the detach and re-attach. It is a Windows executable named "SfxUtil.exe" and may be downloaded here:


Download and unzip to any directory. The SfxUtil.zip contains a single file: SfxUtil.exe. Start a DOS prompt and cd to the directory where SfxUtil.exe is located. Run these commands to detach and re-attach:

SfxUtil detach a.exe a.dat

SfxUtil attach a.exe a.dat

The 1st command detaches the compressed data from "a.exe" and saves the compressed data to "a.dat". The "a.exe" is now an executable that may be edited with Resource Tuner.

The 2nd command re-attaches the compressed data ("a.dat") to "a.exe". After re-attaching, the self-extracting EXE is ready to distribute.

Finally, use this latest version (v14.5 of the Zip-2-Secure-EXE utility)


answered Nov 14 '12 at 15:19

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 14 '12 at 14:59

Seen: 7,213 times

Last updated: Nov 14 '12 at 15:19

powered by OSQA