tags:

views:

459

answers:

5

...id like something I could integrate into my build process: is there anything "standard" tool that does this?

+2  A: 

I am pretty sure Resource Hacker can do this, and some other things, I believe i recognize its icon from when i used it a while back. Hope that helps you!

Javed Ahamed
Thats fantastic: and almost perfect, except I cant run it as part of my build process because it's not command line based. Upvote for an interesting link though.
jkp
I found this: http://www.heaventools.com/command-line_resource_editor.htm. Shame they want an inordinate amount of cash for it.
jkp
Its not a console application, but you can still run it with parameters and perform a single "action" without user interaction. It also supports script files if you need to perform several actions
Anders
+1  A: 
Ville Laurikari
No no, I really do! The reason is convoluted: I need to add custom icons to some utilities I build using PyInstaller. The problem is the out of the box functionality relies on pywin32 which is OK, except that I run my build in a sandbox provided by `virtualenv` and `pip` in combination: unfortunately, I cannot find a way to get `pywin32` to install at all: there appears to be no way to get it to build in this environment. So to side-step the issue, I wanted to be able to change the icon after PyInstaller has done it's bit.
jkp
+2  A: 

Looks like I've found the perfect solution for what I'm trying to do.

jkp
Unfortunately I later found it was not feature complete. Still with little effort someone could finish it off: it was only one `cpp` source file and the code was very clean.
jkp
+3  A: 

Have you seen Resource Hacker? You can also drive it via the command line (script) so I'm sure it could be incorporated into your build.

Alan
A: 

(KIITOS) Thanks to Ville Laurikari I was looking for a way to create an OBJ from a RES File and your answer was what I needed.

Ursula Fleu