4 great tools to create Windows installer packages

NSIS, Advanced Installer, Inno Setup and WiX Toolset are the four tools to use for creating Windows installer packages: NSIS and Inno Setup build a setup .exe, WiX builds an .msi from XML, and Advanced Installer builds both MSI and MSIX packages from a visual editor.

This guide covers what each tool produces, its license, how to install it, the silent switches its installers accept, and how to sign, test and convert the package you build.

Windows installer package tools by output format

Pick the tool by the file your users or your deployment system need. An .msi suits Intune, Group Policy and Configuration Manager deployments; a setup .exe suits a direct download from your website.

Tool What it builds How you author it License Pick it when
1. NSIS (Nullsoft Scriptable Install System) Setup .exe Script file zlib/libpng (open source) You want a small installer for internet downloads and full control by script
2. Advanced Installer MSI and MSIX packages Visual editor (GUI) Proprietary, with a free edition You need MSI and MSIX from one project without writing scripts
3. Inno Setup Setup .exe Script file with a wizard to start one Inno Setup License (open source) You want a classic setup wizard for a desktop app and a quick learning curve
4. WiX Toolset MSI packages (MSIX with the FireGiant extension) XML source built with .NET or Visual Studio MS-RL (open source) You want an MSI that builds from source control in a CI pipeline

All four are installed the same way on a developer PC: with WinGet, or for WiX with the .NET command line. The sections below give each command.

Nullsoft Scriptable Install System (NSIS) for Windows installers

NSIS is a script-based system for building Windows installers, published by Nullsoft and Contributors. Its own description stresses three goals: small installers, flexibility, and suitability for internet distribution.

You write an installer script, compile it, and get a single setup .exe. Because the output is an .exe rather than an .msi, Windows Installer features such as repair and product codes do not apply.

NSIS detail Value
Publisher Nullsoft and Contributors
License zlib or libpng (free and open source)
Output A setup .exe built from a script
Silent install switch for the installers it builds /S
WinGet package ID NSIS.NSIS
WinGet installer type for NSIS-built setups nullsoft (WinGet sets the silent switches automatically)
Convert to MSIX Run the NSIS setup inside the MSIX Packaging Tool capture workflow

The NSIS 3.11 release fixed a race condition in how the installer creates its temporary $PLUGINSDIR folder, which could allow privilege escalation. Rebuild older installers with a current NSIS release before you ship them.

Advanced Installer

Advanced Installer, made by Caphyon, is a Windows installer authoring tool for installing, updating and configuring your products. It uses a visual editor, so you build the package by filling in pages instead of writing a script.

Microsoft lists it among the third-party tools that generate MSI installers and MSIX app packages, and notes that it can import existing projects and maintain them with visual tools.

Advanced Installer detail Value
Publisher Caphyon
License Proprietary; Microsoft points to a free Express Edition
Output MSI installers and MSIX (Windows app) packages
Authoring GUI project editor, with import of existing setups
MSIX check Validates whether an application is suitable for MSIX packaging
WinGet package ID Caphyon.AdvancedInstaller
Silent install switch for its MSI output msiexec /i package.msi /q

Advanced Installer suits teams that need both MSI for older deployment tools and MSIX for the Microsoft Store or Intune from the same project.

Inno Setup

Inno Setup is an open-source installation builder for Windows applications, written by Jordan Russell and Martijn Laan and published at jrsoftware.org. It compiles a script into one setup .exe that shows the familiar Windows setup wizard.

Like NSIS, it produces an .exe, not an .msi. WinGet recognises Inno Setup installers as their own installer type and applies their silent switches without extra configuration.

Inno Setup detail Value
Authors Jordan Russell and Martijn Laan
License Inno Setup License (open source)
Output A setup .exe built from a script
Silent install switches for the installers it builds /SILENT (shows progress) or /VERYSILENT (shows nothing)
WinGet package ID JRSoftware.InnoSetup
WinGet installer type for Inno-built setups inno
Convert to MSIX Run the Inno Setup installer inside the MSIX Packaging Tool capture workflow

WiX Toolset

The WiX Toolset builds Windows Installer packages from XML source files. Its license is MS-RL, and Microsoft's own .NET documentation uses it to build an MSI for a Windows service.

These steps build an MSI from an existing .NET project in Visual Studio 2022 with WiX and the HeatWave extension.

  1. Open a terminal and run dotnet tool install --global wix to install the WiX command-line tool.
  2. In Visual Studio, install the HeatWave for VS2022 extension from the Visual Studio Marketplace, then restart Visual Studio.
  3. Right-click the solution in Solution Explorer and select Add > New Project.
  4. Select MSI Package (Wix v4), select Next, enter a Name and Location, and select Create.
  5. Right-click the new setup project, select Add > Project Reference, and pick the app project you want to install.
  6. Open Package.wxs and describe the package: name, manufacturer, version, upgrade code, install folder and the files to copy.
  7. Build the setup project. The output folder contains the .msi file.
  8. Right-click the .msi and select Run as administrator to test the install, then remove it from Add or Remove Programs.

The project file uses the WixToolset.Sdk MSBuild SDK and keeps the package definition in plain XML, so it sits in source control next to your app. The FireGiant MSIX extension builds an MSIX package and an MSI from the same WiX source.

4 great tools to create Windows installer packages
Pick MSI Package (Wix v4) in Visual Studio's Add a new project dialog once the HeatWave extension is installed. (Image: Microsoft)

Install NSIS, Inno Setup and Advanced Installer with winget

WinGet installs several packages in one command when you list their IDs separated by spaces. Run it in Windows Terminal, PowerShell or Command Prompt.

winget install NSIS.NSIS JRSoftware.InnoSetup Caphyon.AdvancedInstaller

Installs each package in sequence from the WinGet community repository. Add –id <ID> -e for a single package to force an exact ID match, or -h to run the installer silently.

You should see: WinGet reports each package as installed, and each tool then appears in the Start menu.

If the winget command is not recognised, install apps with winget after updating App Installer. For the WiX command-line tool, WinGet also lists the package ID WiXToolset.WiXCLI.

Install Windows installer package tools with winget install command list
The install command accepts several package IDs at once, such as NSIS.NSIS, JRSoftware.InnoSetup and Caphyon.AdvancedInstaller. (Image: Microsoft)

MSI vs EXE vs MSIX installer package

The tool decision is really a format decision. Microsoft's packaging guidance separates packaged MSIX apps, which get package identity, from unpackaged apps installed by an MSI or EXE.

Format Built by Package identity Microsoft Store Best for
.exe setup NSIS, Inno Setup No Yes, as an MSI/EXE submission with silent install support Direct downloads and small utilities
.msi (Windows Installer) WiX Toolset, Advanced Installer No Yes, as an MSI/EXE submission with silent install support Intune, Group Policy and Configuration Manager deployments
.msix Advanced Installer, WiX with the FireGiant extension, MSIX Packaging Tool Yes Yes, as an MSIX submission Store apps, clean uninstall, and features such as notifications and share targets
Packaging with external location Any of the tools, plus a small identity package Yes Yes, as an MSI/EXE submission Existing installers that need package identity without switching to MSIX

Windows uses the MSI file format for repair, upgrade and patching through product codes. A setup .exe from NSIS or Inno Setup handles those jobs in its own script.

Silent install switches for NSIS, Inno Setup and MSI installers

Deployment tools and WinGet require a silent install. Each tool's output answers to a different switch.

Installer built with Silent switch Example
NSIS /S setup.exe /S
Inno Setup /SILENT or /VERYSILENT setup.exe /VERYSILENT
WiX Toolset or Advanced Installer (MSI) /q (or /qn) with msiexec msiexec /i package.msi /q
Any MSI, with a verbose log /q plus /l*v msiexec /i package.msi /q /l*v install.log
Any MSI, uninstall /x msiexec /x package.msi /q

For an unknown setup .exe, run it with -? from the command line to see which silent switches it supports.

How to test a Windows installer package before you ship it

  1. Copy the installer to a clean test PC or virtual machine that has never had your app installed.
  2. Run the installer silently with its switch from the table above, for example msiexec /i package.msi /q /l*v install.log.
  3. Open Add or Remove Programs and check that the app name and publisher match what you set in the project.
  4. Start the app from the Start menu shortcut the installer created.
  5. Uninstall it from Add or Remove Programs and check that the install folder under Program Files is gone.
  6. For an MSI, open install.log and read the entries near the end to find the action that failed.

Convert an Inno Setup or NSIS installer to MSIX

The MSIX Packaging Tool captures what an installer does and writes it into an MSIX package. Microsoft recommends a clean virtual machine for the capture, so unrelated system changes stay out of the package.

  1. Open the MSIX Packaging Tool and select Application package.
  2. Choose Create package on this computer, Create package on a local virtual machine (Hyper-V only) or Create package on a remote machine, then select Next.
  3. On Prepare computer, let the tool enable the MSIX Packaging Tool Driver, then select Next.
  4. Browse to your setup .exe or .msi, pick a Signing preference, and select Next.
  5. Fill in Package name, Publisher name and Version (Major.Minor.Build.Revision). For an .exe these are not filled in for you.
  6. Run through your installer when the tool launches it, then select Next.
  7. Launch the app once under Manage first launch tasks, select Next, then Yes, move on.
  8. Choose a save location and select Create.

An MSIX package will not install unless it is signed, and a SHA1 certificate is not supported for MSIX signing.

Convert an Inno Setup or NSIS installer to MSIX in MSIX Packaging Tool
Select Application package to start the capture that turns a setup .exe or .msi into an MSIX package. (Image: Microsoft)

Code signing certificate for a Windows installer package

Signing requirements depend on how you distribute the package, not on which of the four tools built it.

Distribution path Signing requirement
Microsoft Store, MSIX submission The Store signs the package for you at no cost
Direct download from your website A certificate from a trusted certificate authority; Microsoft recommends Azure Artifact Signing as a lower-cost option
Enterprise deployment through Intune or Configuration Manager A self-signed certificate trusted on managed PCs through Intune, Group Policy or Configuration Manager
Any MSIX package Must be signed before it installs; add a timestamp so the signature outlasts the certificate
Code signing certificate for an MSIX installer package in the package editor
An MSIX package must be signed before it installs, and the Publisher name has to match the certificate subject. (Image: Microsoft)

Windows installer package tools FAQ

What is the best free tool to create a Windows installer?

NSIS, Inno Setup and WiX Toolset are free and open source. Inno Setup and NSIS build a setup .exe from a script, and WiX builds an .msi from XML. Advanced Installer is proprietary but has a free edition.

Can Inno Setup create an MSI file?

No. Inno Setup compiles a script into a setup .exe. If you need an .msi for Group Policy or Intune, build it with WiX Toolset or Advanced Installer, or wrap the app with the MSIX Packaging Tool for MSIX.

Is NSIS free for commercial use?

NSIS is released under the zlib/libpng license, a permissive open-source license. Check the license text shipped with NSIS for the exact terms before you redistribute a modified copy of NSIS itself.

Is WiX Toolset free?

WiX Toolset is open source under the MS-RL license. You install the command-line tool with dotnet tool install –global wix, and the HeatWave extension adds WiX project templates to Visual Studio 2022.

Is Advanced Installer free?

Advanced Installer is proprietary software from Caphyon. Microsoft's MSIX documentation points to a free Express Edition and describes a free GUI packaging tool, while larger feature sets need a paid edition.

What is the difference between an MSI and an EXE installer?

An MSI is a Windows Installer database that Windows installs, repairs and removes with msiexec. A setup .exe from NSIS or Inno Setup runs its own code to copy files and write registry entries.

How do I create an MSI installer in Visual Studio?

Install the WiX tool and the HeatWave for VS2022 extension, add an MSI Package (Wix v4) project, reference your app project, edit Package.wxs and build. The output folder holds the .msi.

Can I convert an EXE installer to MSIX?

Yes. The MSIX Packaging Tool runs your .exe installer, captures the changes it makes, and writes an MSIX package. Enter the package name, publisher and version yourself, because an .exe does not supply them.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *