nsgoinstaller

command
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command nsgoinstaller writes Frostmail's additions into the NSIS script that nsgo build writes for the NSGo client's Windows package (docs/design/desktop.md, Windows):

nsgoinstaller -script FrostMail.nsi [-define NAME=VALUE]... INCLUDE...

NSGo's script has no place for an app's own steps. This command puts the INCLUDE files into it, in their order, ahead of .onInit, with a !define for each -define ahead of them, and their 3 macros where they run: FM_INIT in .onInit, FM_INSTALL at the end of the install section, and FM_UNINSTALL in the uninstall section, among the steps that undo the registered install. The script is edited in place: the installer takes every other file of its folder, so nothing is written beside it.

Each place is found by a line of NSGo's script, which must be there exactly once. A script that another version of NSGo writes otherwise is refused, so no installer is compiled without the additions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL