chocolatey / chocolatey/choco

Allow for multiple "package instances"

Open
#1,022 19 comments 14 reactions 1 assignee Claimed by @gep13 View on GitHub
1 - Ready ClickUp - Focus Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

### What You Are Seeing?

I can only install one "copy" of a package at a time, even if it is a zip package that would support modifying the configuration and installing multiple copies.

### What is Expected?

I would like to have Chocolatey allow me to install the package with various different arguments (config settings) and have some way of displaying the different "configs" I have installed, even if this requires a new flag like -mpi or something.

### Discussion

![image](https://user-images.githubusercontent.com/12760779/141295248-0a66e143-a0c7-4c79-b199-b32305ef09ee.png)

UPDATE: As Chocolatey Gitter chat is now unavailable, I've added a screenshot of the Gitter chat.

### Feature Request

Add the ability to provide multiple package instances, with a "required" flag/parameter that specifies the string that will be used to identify the different versions after they are installed.

For example:
choco list -l
MyPackage

After allowing multiple instances:
MyPackage
MyPackage CustomInstall
MyPackage NotVanilla

The additional ones would be installed via `choco install --multipackageinstances -params '"ConfigName=CustomInstall OtherArgs=etc"'.

┆Issue is synchronized with this [Clickup task](https://app.clickup.com/t/868ky1qc6) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.