Nullsoft Installer for Cmder Terminal Emulator.
Go to file
2021-06-18 21:48:56 -04:00
installer removed uninstall shortcut and updated readme 2021-06-18 21:48:56 -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 removed uninstall shortcut and updated readme 2021-06-18 21:48:56 -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 and to create the MSIX package, 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. .\mini\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
    2. .\full\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-mini.nsi
    2. Cmder-full-msi
  5. Launch NSIS.
  6. Compile the scripts by navigating to the cloned repo.
  7. Create a release in repository.
  8. Installer artifacts from script compilation.

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.