pavel-a / ddverpatch Goto Github PK
View Code? Open in Web Editor NEWVerpatch tool migrated from Codeplex. See the wiki.
License: BSD 2-Clause "Simplified" License
Verpatch tool migrated from Codeplex. See the wiki.
License: BSD 2-Clause "Simplified" License
I already managed to add an icon to an existing executable via verpatch if no icon exists in the executable.
Now I want to replace an existing icon in an existing executable.
If I use the same call to verpatch with /langid parameter on an executable with existing icon then the icon is not replaced.
My icon is always added with language id 0.
I tried numerous variations of the command line.
Some examples:
verpatch.exe "path to exe" /rf #0E0065 "path to bin" /langid 0x041904B0 // hex with 0x prefix
verpatch.exe "path to exe" /rf #0E0065 "path to bin" /langid 041904B0 // hex without prefix
verpatch.exe "path to exe" /rf #0E0065 "path to bin" /langid 10491200 // decimal
The screenshot below shows that the original icon with langid 1049 is not replaced but a new one with langid 0 is added.
There seems to be no licence for this repository. Could one be set?
First of all thank you for this tool, it works like a charm.
I'm trying to change the icon of an exe and I noticed verpatch does not support this. Sadly, I tried multiple command-line tools for this and they plain not work because they're old or they break the exe (I suspect the checksum is not properly re-computed if at all).
I was wondering if you would be open to add the option to verpatch.
As a side-note, pre-built versions on github would be awesome too. I had to chase for one to avoid manual compilation.
Thanks again for your work.
We were using verpatch now for a while without problems, but now it throws an error which we don't understand. When calling verpatch it outputs:
err GetShortPathName, gle=2
err opening file for rechecksum (unicode path)
err open file for reading extra data 2
Failed to read extra data
Is it an error in verpatch or might something be wrong with the command line arguments?
./verpatch.exe " dist/App Name/App Name.exe" 0.7.0.1 -va -pv 0.7.0.1 -s ProductName "App Name" -s copyright "(c) 2018 Our Names" -s company "Our Company Name & something"
I changed the arguments to make it anonymous, but left in the important Non-ASCII characters.
Hi!
Thank you for you small,but great and helpful tool
Could you update nuget package on Nuget.org?
If you need some help with it(create .nuspec, integrate to msbuild process), I can help you
Getting the help of verpatch.exe via verpatch /?
returns false as exit code though it should be true.
# Windows PowerShell
C:\> .\verpatch.exe /?
C:\> $?
True
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.