Skip to content

vslavik/nuget-tools-innosetup

Repository files navigation

NuGet package for Inno Setup

NuGet Version NuGet Downloads Github Workflow Build Status

This is an unofficial package of the Inno Setup installer, intended for use as a NuGet dependency. It is published to the nuget.org repository.

This package is kept up to date and with upstream IS releases and includes the following:

  • Unicode build of Inno Setup
  • Inno Setup Preprocessor
  • encryption support
  • official translations of Inno Setup

How to install

As any other NuGet package, e.g.

dotnet add package Tools.InnoSetup

The package provides the following properties to aid build integration:

  • $(InnoSetupDir) points to the tools directory of the installed package, with Inno Setup files
  • $(InnoSetupCompiler) points directly at the ISCC.exe compiler

This allows easy execution as e.g. <Exec Command="$(InnoSetupCompiler) setup.iss"/> in MSBuild.

How to build it

To build the package yourself:

  1. Download the Inno Setup installer from https://jrsoftware.org/isdl.php
  2. Run the installer with /verysilent /allusers /dir=inst flags
  3. Package into NuGet with nuget pack Tools.InnoSetup.nuspec

License

The license.txt file in this directory applies to Inno Setup itself. The package spec and other support files are in the public domain.

About

Unofficial InnoSetup NuGet package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published