I want to automate some manifest file changes (change
requestedExecutionLevel level to
asInvoker) so I have to use ResourceHacker CLI.
I have managed to extract the resources file using the command
ResourceHacker.exe -open rh.exe -save rh.res -action extract -mask MANIFEST, -log CONSOLE
After modifying the
rh.res file and after running
ResourceHacker.exe -open "rh.exe" -save "rh2.exe" -action addoverwrite -res "rh.res" -mask MANIFEST, -log CONSOLE
I get the
rh2.exe file which works perfectly fine, but doesn't have any changes as far as I can see. However, checking the MD5 I can observe that the hash is different.