@gep13 a quick question, do we have a plan to add a new feature to take user inputs before we install any package. like username and password for specif installer
This should show up based on some additional file in the package for the input. maybe using env variable
I have devexpress package, in order to install it silently, it requires username and password passed in the command line.
@TechMinder At least currently, there's no easy way for us to detect this or to interact with the chocolatey console. So for now, no.
I have an idea and it may work, but I don't know all the Chocolatey rules. So not sure if my idea is inline with chocolatey design or road map. So here is the idea, if we add a new attribute in nuspec e.g <additionalcommandline user="" password="">. Based on this number of attribute chocolatey UI shows text boxes along with install option. Then if user enters that value before clicking install we can set those value to env variables or some file that installer file(installer.ps1) will be looking into for these values.
@RichiCoder1 do you think it's viable idea?
@TechMinder it would best to discuss that more broadly than just related to the GUI - additional fields to the nuspec are heavily scrutinized and a much slower process to ratification and implementation, so keep that in mind.
There may be better ways.
keep in mind that Chocolatey is about completely silent installation, so perhaps a way to front load commands to pass package parameters and such to a command would be best if the GUI doesn't already support it
@ferventcoder you are right, my main focus was on Chocolatey GUI. As it reads nuspecs for all the package details.
I know parsing and many other things may be happening under the hood.
My intention is to get the user inputs which can be passed to the install and uninstall commands/
Also, I am not sure if this is common requirement.
I am open to contribute for GUI as I know this is written in .NET WPF and I am well verse with it.
@gep13@ferventcoder I have noticed that for internal packages ChocolateyGUI shows -1 downloads. Does anyone know how to hide or show proper increments?
what is your internal server?
depends on what it provides
if your internal is a file share, that sounds right
@ferventcoder it's file server.
@ferventcoder Is there any document or link for creating difference package source?
@ferventcoder where do we store the # of downloads information? is it in file or somewhere else?