Allow for passing in package parameters / installer arguments when installing a package
See original GitHub issueIt would be great to be able to pass through package parameters and installer arguments as part of installation. There are some folks out there who enjoy the UI but still want some of the customization of installed packages.
Other things to consider:
- Setting to force which architecture of a package is installed (x64, x86)
- Ability to select which version of a package is installed
Based on discussion during a Twitch session on 20th April 2020, the following things were discussed/mentioned regarding this topic (@AdmiringWorm @mkevenaar @mwallner @punker76)
- Selected version should be the latest version available by default
- ~[ ] In order for this to work, we need a new release of Chocolatey.Lib~ (Not needed)
- We should restrict the number of available package versions, perhaps 20 by default (but this should be configurable), with an option to load more results
- There should be a
More ..
option, or similar, next to the combobox for loading more package versions - Versions should be sorted from newest to oldest
- Perhaps provide the ability to allow a package version number to be entered directly into the box, but this should be validated before usage
- Would be could to have autocomplete/filtering on the combobox to make it easy to find a package version
- There should be a checkbox to control whether pre-release package versions are included in the combobox
- Would be nice to fetch the available package versions once the Advanced dialog is opened, with a loading indicator
In addition, we went through the available options/switches for the install command, and decided that the following should be available:
- Command Timeout
- Log File
- Version
- Pre-Release (could be set automatically, based on selected package version)
- Force x86
- Install Args
- Override Args
- Not Silent (we were undecided on this one)
- Package Parameters
- Args Global
- Params Global
- Allow Downgrade (could perhaps infer this, based on current state of system)
- SxS (we we undecided on this one)
- Ignore dependencies
- Force dependencies
- Skip PowerShell
- Checksums, and all related options - discussion to be had around this
Think that was everything that was discussed, but can add more
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:44 (38 by maintainers)
Top Results From Across the Web
How do I pass parameters to the installer in a Chocolatey ...
If you are passing to the native installer, please use --install-arguments and not --package-parameters .
Read more >Parse Package Parameters
You can use package parameters to set up arguments to the native installer, but that is typically done from the consumer end with...
Read more >Chocolatey Software Docs | Install
all is a special package keyword that will allow you to install all packages ... parameters, passed to the package # Install args...
Read more >Passing installation parameters to a Windows application ...
A very common solution for this requirement is to leverage a web installation and to use query string parameters, appended to the installation...
Read more >Passing installation parameters to your app via App Installer
Describes how to pass installation parameters to an app via App Installer and protocol activation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AdmiringWorm @mkevenaar @mwallner @punker76 not sure if you will get a notification for the edit that I made to the first post in this issue, so thought I would follow up here.
I have updated the original post to include what was discussed on the twitch stream. Let me know if I have missed anything.
Next update… loading Packages inside dialog with the possibility to cancel this.
…waiting
…cancel it