Solved Free resource editor

Discussion forum about all things Gupta, OpenText and the community.
Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1365
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Free resource editor

Post by Igor Ivanovic » 13 Jan 2021, 10:38

Hi,

Does anyone knows about a free working resource editor with which I can change the version number of an exe file (.net console app).
I have a third party app whose authors do not update the version info - their every issue has a version number of 1.0.0, and I have problems with InstallShield replacing the file. I have found a workaround for it, to delete and install the file, but it has some weird behavior afterwards - any subsequent update deletes the exe file.
I have contacted the authors but it seems they don't care. No response from them.

So I am looking for a free resource editor to change the version by myself.
Every editor I have found was free, until I wanted to save the version info :-( :shock:
Igor Ivanovic
Image

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1365
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: Free resource editor

Post by Igor Ivanovic » 13 Jan 2021, 16:41

To answer my own question...
I found a good one, don't know how I missed it the first time :shock:
Here is the link http://www.angusj.com/resourcehacker/
Changing the version number was a breeze...
Igor Ivanovic
Image

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3145
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Free resource editor

Post by Dave Rabelink » 14 Jan 2021, 06:37

Yes, also using ResourceHacker.

As far as I know this is the only tool which is able to add/replace internal manifest for TD executables (TD 5.1 and up).
The Microsoft tool mt.exe will create corrupt executables.

This ResourceHacker command line action is able to change the internal manifests correctly:

ResourceHacker.exe -addoverwrite MyTDApplication.exe, MyTDApplication.exe, MyTDApplication.exe.manifest, manifest,1,

I use this in our build process to replace the existing manifest which is added by the TD compile/build action because we use "Registration-Free Com"
(So to avoid having to register ActiveX/COM components in registry to be able to use it).

If someone else here has another tool which is able to manipulate manifests on TD executables, please report them here.

PS.
Older TD versions (up to TD 4.2) can be changed using mt.exe. But TD 5.1 and up seems to contain an incompatible exe file header structure.

I have posted all details on this issue and a feature request here:

viewtopic.php?f=41&t=62071
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests