It would be nice to automatically extract the icon of an installed exe file, eg. the one that is selected as start program, and set it as default icon.
Or at least include a functionality to set exe icons manually.
How would this be handled? Maybe it would extract it automatically from what you set as the EXE 9some have multiple EXE files with different icons. What if the person didn't want it done? it would need to be optional...
have any code examples on how to actually pull this info out of a exe file? I really have no idea how to just yet.
I suggest that the first icon of the set exe file is taken and set. The use can still set another icon manually afterwards.
There is a tool called "wrestool" that does the job. It is used by Mike Kronenberg's Winebottler (http://winebottler.kronenberg.org/).
Maybe this is also available via MacPorts, Fink or brew.