6.2.0 • Published 3 years ago

node-inno-setup v6.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Inno Setup Exe

Repository for bundle Inno Setup to npm package.

Usage

  1. Install with npm install inno-setup-exe.
  2. Use const iscc = require('inno-setup-exe') on node to get the path of main Inno Setup compiler.

Example to run iscc command on node

const { spawnSync } = require('child_process')
const iscc = require('inno-setup-exe')

const outputPath = './output' // should not empty folder
const outputFilename = 'setup' // output as "setup.exe"
const issFile = './main.iss' // the .iss file

spawnSync(iscc, [
  `/O${outputPath}`,
  `/F${outputFilename}`,
  issFile
])