Nullsoft Installer for Cmder Terminal Emulator.
Go to file
Eric D. Rohler a04c076b33
Rename installers (#6)
* renamed cmder-full to cmder

* renamed cmder-mini folder

* update cmder-mini

* update readme instructions
2021-06-21 13:26:08 -04:00
installer Rename installers (#5) 2021-06-21 13:22:16 -04:00
.gitignore Create Installer Scripts (#1) 2021-06-18 11:04:29 -04:00
license.txt Create Installer Scripts (#1) 2021-06-18 11:04:29 -04:00
readme.md Rename installers (#6) 2021-06-21 13:26:08 -04:00

Cmder Installer

This repository was created as a wrapper around my favorite terminal emulator Cmder.

The goal is to distribute it to winget and make it available with the new Windows Package Manager. Cmder is a portable application, until winget can install .zip files we needed to create an installer to include the vendor resources.

Instructions

Prerequisites

  1. The latest release archive of Cmder.
  2. NSIS installed.

Steps for Installer

  1. Clone the repository
  2. Create the following directory structure.
    1. installer\Cmder\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
    2. installer\Cmder-mini\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
  3. Download the release to the correct version path and extract here.
  4. Edit VERSION Variable in the .nsi scripts. It's the first variable in the each file.
    1. Cmder.nsi
    2. Cmder-mini.nsi
  5. Launch NSIS.
  6. Compile the scripts by navigating to the cloned repo.
  7. Create a release in repository.
  8. Add installer artifacts from script compilation to the release.

Steps to Publish Winget Manifest

  1. Create a new folder for version number under each installer payload e.g. (x.x.x.x).
  2. Copy previous release manifests to new release folder.
  3. Edit PackageVersion, InstallerUrl and hash with new release number. winget has -f [FILENAME]
  4. Validate manifest with validate. winget validate --manifest [FILENAME]
  5. Create new branch for release.
  6. Add release manifests.
  7. Push changes to fork.
  8. Squash merge into forked master.
  9. Create pull request in winget-pkg upstream.