А по мелочи - можно дописывать в конец файла строковые переменные и считывать их при запуске.
С иконкой сложней, но можно таскать с приложением ResHacker.exe (насчет правовых аспектов - не в курсе) и пользовать через командную строку, примерно так:
"ResHacker.exe -addoverwrite Project1.exe, Project2.exe, Arrow.ico, icon, ASMA,"

Цитата:
We can also run Resource Hacker using Command Prompt and can use scripts to automate lots of repeatative tasks to save our time.
You can use scripts in 2 ways:
Single Command
Multiple Commands
[Single Command]
You can use following commands in Command Prompt to perform actions using Resource Hacker:
- add ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- addskip ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- addoverwrite ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- modify ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- extract ExeFileName, ResourceAddress, ResourceType, ResourceName,
- delete ExeFileName, ResultingFileName, ResourceType, ResourceName,
Where:
ExeFileName - Source file name
ResultingFileName - Output file name
ResourceAddress - Resource location (eg Bitmap path stored in your hard disk)
ResourceType - Resource type (eg Bitmap, AVI, etc.)
ResourceName - Resource name (eg 131, 1020, etc.)
Example:
ResHacker.exe -addoverwrite explorer.exe, explorer1.exe, MyImage.bmp , bitmap, 143,
[Multiple Commands]
You can also run a series of commands using script. First you'll need to create the script file using Notepad and then you can run it using following command:
ResHacker.exe -script ScriptFileName
Where, ScriptFileName is the name of the script file which you created in Notepad.
Following is the required format of the script file:
[FILENAMES]
Exe=
SaveAs=
Log=
[COMMANDS]
-addoverwrite ResourceAddress, ResourceType, ResourceName
Where:
EXE= contains source file name
SaveAs= contains output file name
Log= contains LOG file name which will store a detailed log of the operation
[COMMANDS] section contains the command-set which we want to perform on the source file.
PS: You can omit the LOG= entry in script file. In this case, Resource Hacker will automatically create a LOG file with the name " ResHacker.log ".
NOTE: If you are facing problems while saving a file after editing in resource hacker, then make sure you have disabled WFP (Windows File Protection) service using " WFP Patcher " or use " Replacer " to replace the file.
Also if you are getting error " Can't create file... ", that means you have edited and saved the same file in past and there is a backup file which needs to be deleted before saving this file again. Go to the folder containing this file and you'll see a similar file having " _original " in its name. Delete it and try to save the file in resource hacker.
We can also run Resource Hacker using Command Prompt and can use scripts to automate lots of repeatative tasks to save our time.
You can use scripts in 2 ways:
Single Command
Multiple Commands
[Single Command]
You can use following commands in Command Prompt to perform actions using Resource Hacker:
- add ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- addskip ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- addoverwrite ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- modify ExeFileName, ResultingFileName, ResourceAddress, ResourceType, ResourceName,
- extract ExeFileName, ResourceAddress, ResourceType, ResourceName,
- delete ExeFileName, ResultingFileName, ResourceType, ResourceName,
Where:
ExeFileName - Source file name
ResultingFileName - Output file name
ResourceAddress - Resource location (eg Bitmap path stored in your hard disk)
ResourceType - Resource type (eg Bitmap, AVI, etc.)
ResourceName - Resource name (eg 131, 1020, etc.)
Example:
ResHacker.exe -addoverwrite explorer.exe, explorer1.exe, MyImage.bmp , bitmap, 143,
[Multiple Commands]
You can also run a series of commands using script. First you'll need to create the script file using Notepad and then you can run it using following command:
ResHacker.exe -script ScriptFileName
Where, ScriptFileName is the name of the script file which you created in Notepad.
Following is the required format of the script file:
[FILENAMES]
Exe=
SaveAs=
Log=
[COMMANDS]
-addoverwrite ResourceAddress, ResourceType, ResourceName
Where:
EXE= contains source file name
SaveAs= contains output file name
Log= contains LOG file name which will store a detailed log of the operation
[COMMANDS] section contains the command-set which we want to perform on the source file.
PS: You can omit the LOG= entry in script file. In this case, Resource Hacker will automatically create a LOG file with the name " ResHacker.log ".
NOTE: If you are facing problems while saving a file after editing in resource hacker, then make sure you have disabled WFP (Windows File Protection) service using " WFP Patcher " or use " Replacer " to replace the file.
Also if you are getting error " Can't create file... ", that means you have edited and saved the same file in past and there is a backup file which needs to be deleted before saving this file again. Go to the folder containing this file and you'll see a similar file having " _original " in its name. Delete it and try to save the file in resource hacker.