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
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 theISCC.exe
compiler
This allows easy execution as e.g. <Exec Command="$(InnoSetupCompiler) setup.iss"/>
in MSBuild.
To build the package yourself:
- Download the Inno Setup installer from https://jrsoftware.org/isdl.php
- Run the installer with
/verysilent /allusers /dir=inst
flags - Package into NuGet with
nuget pack Tools.InnoSetup.nuspec
The license.txt file in this directory applies to Inno Setup itself. The package spec and other support files are in the public domain.