ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

makensis

by idleberg ST2/ST3

Advanced build system to compile NSIS scripts, supporting Windows, macOS and Linux (native and Wine)

Labels build, nsis

Details

Installs

  • Total 222
  • Win 150
  • OS X 42
  • Linux 30
Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5
Windows 0 2 1 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 0 0 1 0 0 0
OS X 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

sublime-makensis

The MIT License Package Control GitHub Travis CI Gitter

Advanced Sublime Text build system to compile NSIS scripts, supporting Windows, macOS and Linux.

Installation

Package Control

  1. Make sure you already have Package Control installed
  2. Choose “Install Package” from the Command Palette (Super+Shift+p)
  3. Type “makensis” and press Enter

With auto_upgrade enabled, Package Control will keep all installed packages up-to-date!

Using Git

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/sublime-makensis.git makensis

Setup

Windows

Download the NSIS installer from SourceForge and run setup. Make sure makensis is in your PATH environmental variable.

Alternatively, you can install NSIS through Chocolatey:

choco install nsis

Linux

Install NSIS from your distribution's default package manager, for example:

# Debian
sudo apt-get install nsis

# Red Hat
sudo dnf install nsis

macOS

Install NSIS using Homebrew (recommended) or MacPorts:

# Homebrew
brew install nsis

# MacPorts
port install nsis

Usage

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

Note: Microsoft has announced its plans to slowly deprecate cmd.exe in favour of PowerShell. In the long-term, the PowerShell build variants are meant to replace the old batch files. Until then, please report any issues.

License

This work is licensed under the The MIT License.

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd