exe-resource

Module allowing to edit resource properties of executable files (.dll, .exe etc) on Windows.

Usage no npm install needed!

<script type="module">
  import exeResource from 'https://cdn.skypack.dev/exe-resource';
</script>

README

Exe Resource

Module allowing to modify resource properties of executable files (.dll, .exe, etc) on Windows.

Installing

npm install --save-dev exe-resource

Usage

First parameter is a path the the executable file, which details you try to modify.

Second parameter is an object, with properties that will be subsitituted in the executable. All properties all optional, but you have to provide at least one.

exeResource('Path to executable', {
  fileVersion: '1.2.3.4',
  productVersion: '1.2.3.4',
  companyName: 'MyCompany',
  fileDescription: 'The executable.',
  legalCopyright: 'Copyright...',
  productName: 'MyProduct'
});