Chocolatey install optional components workload

  • Thread starter Thread starter Kerby666
  • Start date Start date
K

Kerby666

Guest
Hi,


I've just received a new laptop and was making script to automate it's setup using powershell and chocolatey.

As I'm a web developer I need to install the both the netweb workload and the netcoretools workload with following commands.

cinst visualstudio2019-workload-netweb
cinst visualstudio2019-workload-netcoretools



When I add --includeOptional, no optional packages are installed. How can I do this, I need the IISDevelopment component.

This is how I tried:

cinst visualstudio2019-workload-netweb --includeOptional

cinst visualstudio2019-workload-netcoretools --includeOptional

cinst visualstudio2019-workload-netweb --package-params "--includeOptional"

cinst visualstudio2019-workload-netcoretools --package-params "--includeOptional"



Continue reading...
 
Back
Top