chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.32k stars 904 forks source link

Allow to set InstallArguments on a dependency #488

Open pascalberger opened 8 years ago

pascalberger commented 8 years ago

From #325.

It would be nice if InstallArguments in a chocolatey dependency could be defined in the nuspec file (To allow installation of a dependency like through an individual choco install VisualStudio2013Professional -InstallArguments "/Features:'WebTools Win8SDK' /ProductKey:AB1CD-EF2GH-IJ3KL-MN4OP-QR5ST" call)

ferventcoder commented 8 years ago

What would we do when the dependency is already installed, but perhaps with different arguments?

pascalberger commented 8 years ago

Is there a way to know with what arguments a package was installed?

ferventcoder commented 8 years ago

Not yet, that's a different ticket #358

ferventcoder commented 8 years ago

This would depend on that.

pascalberger commented 8 years ago

In this case I would vote to reinstall with the arguments required by the dependency.

AeliusSaionji commented 8 years ago

In cases were an x86 only package calls for vcredist (and similar) as a dependency, it would be nice to be able to specify that said package needs the x86 vcredist (or other) dependency.