Skip to content

adding parameters for choco packages causes error #88

@SonOfSafwat

Description

@SonOfSafwat

The following commands cause errors due to being obsolete:

  • choco install -y git --package-parameters="'/GitAndUnixToolsOnPath /WindowsTerminal'"

  • choco install -y Microsoft-Hyper-V-All --source="'windowsFeatures'"

  • choco install -y visualstudio2017community --package-parameters="'--add Microsoft.VisualStudio.Component.Git'"

  • choco install -y Microsoft-Windows-Subsystem-Linux --source="'windowsfeatures'"

After checking chocolatey, I believe they changed how to reference params. Hence, I suggest updating those scripts and similar to the following

  • choco install -y git --params "/GitAndUnixToolsOnPath /WindowsTerminal"

  • choco install -y -source windowsfeatures Microsoft-Hyper-V-All

  • choco install -y visualstudio2017community --params="--add Microsoft.VisualStudio.Component.Git"

  • choco install -y -source windowsfeatures Microsoft-Windows-Subsystem-Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions