Advanced Sublime Text build system to compile NSIS scripts, supporting Windows, macOS and Linux.
- Make sure you already have Package Control installed
- Choose “Install Package” from the Command Palette (Super+Shift+p)
- Type “makensis” and press Enter
With auto_upgrade enabled, Package Control will keep all installed packages up-to-date!
- Change to your Sublime Text
Packages
directory - Clone repository
git clone https://github.com/idleberg/sublime-makensis.git makensis
Download the NSIS installer from SourceForge and run setup. Once completed, you need to add the installation folder to your PATH
environmental variable manually.
Alternatively, you can install NSIS using the Scoop package manager:
$ scoop install nsis/nsis
Install NSIS from your distribution's default package manager, for example:
# Debian
sudo apt-get install nsis
# Red Hat
sudo dnf install nsis
Install NSIS using Homebrew or MacPorts:
# Homebrew
brew install nsis
# MacPorts
port install nsis
When using the NSIS package, you will have to switch the default build system
Tools > Build Systems > makensis
Use the default shortcut Super+b to build scripts or Super+Shift+b to choose a build variant.
Available variants:
- makensis¹
- makensis - strict¹ ²
- makensis - Wine³
- makensis - Wine, strict² ³
- makensis - Legacy Windows
- makensis - Legacy Windows, strict²
¹⁾ requires PowerShell 3.0 (Windows 8 or later)
²⁾ treats warnings as errors, requires NSIS 3.0
³⁾ requires Wine
This work is licensed under the The MIT License.