Giter Site home page Giter Site logo

rcedit's Introduction

rcedit Build status

Command line tool to edit resources of exe file on Windows.

Executables

Prebuilt binaries can be found in the artifacts of appveyor jobs.

Building

  1. Clone the repository
  2. Open rcedit.sln with Visual Studio 2015 or above
  3. Build

Generate solution files

If you have modified the gyp files, you should regenerate the solution files:

  1. Make sure you have gyp configured on your system. If not, clone gyp from https://chromium.googlesource.com/external/gyp
  2. Run gyp rcedit.gyp --depth .

Docs

Show help:

$ rcedit -h

Set version string:

$ rcedit "path-to-exe-or-dll" --set-version-string "Comments" "This is an exe"

Use this option to change any supported properties, as described in the MSDN documentation here

Set file version:

$ rcedit "path-to-exe-or-dll" --set-file-version "10.7"

Set product version:

$ rcedit "path-to-exe-or-dll" --set-product-version "10.7"

Set icon:

$ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico"

Set resource string:

$ rcedit "path-to-exe-or-dll" --set-resource-string id_number "new string value"

Set requested execution level (asInvoker | highestAvailable | requireAdministrator) in the manifest:

$ rcedit "path-to-exe-or-dll" --set-requested-execution-level "requireAdministrator"

Set application manifest:

$ rcedit "path-to-exe-or-dll" --application-manifest ./path/to/manifest/file

And you can change multiple things in one command:

$ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico" --set-file-version "10.7"

Get version string:

$ rcedit "path-to-exe-or-dll" --get-version-string "property"

Use the same properties as --set-version-string. Use "FileVersion" to get the results of --set-file-version and "ProductVersion" to get the results of --get-product-version.

Get resource string:

$ rcedit "path-to-exe-or-dll" --get-resource-string id_number

rcedit's People

Contributors

zcbenz avatar dmascord avatar raptdept avatar kevinsawicki avatar malept avatar arnavb avatar treestec avatar barkingfoodog avatar ckerr avatar skyline75489 avatar tilkinsc avatar geertvanhorrik avatar lnsooxd avatar aniskyworker avatar rversteegen avatar thmaterna avatar actboy168 avatar develar avatar sam651 avatar robi-wan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.