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 232
  • Win 156
  • OS X 45
  • Linux 31
Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2
Windows 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 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
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

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