Revert package manager to chocolatey

This commit is contained in:
Danny Bessems 2021-06-22 16:41:19 +02:00
parent 6228c8db35
commit 5597046178

View File

@ -194,35 +194,35 @@ build {
provisioner "windows-update" { provisioner "windows-update" {
} }
provisioner "powershell" { // provisioner "powershell" {
scripts = [ // scripts = [
"scripts/Install-WinGet.ps1" // "scripts/Install-WinGet.ps1"
] // ]
} // }
provisioner "powershell" {
inline = [
"winget install mozilla.firefox",
"winget install 7zip.7zip",
"winget install microsoft.dotnetframework"
]
// valid_exit_codes = [0, 3010]
}
// provisioner "powershell" { // provisioner "powershell" {
// inline = [ // inline = [
// "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12", // "winget install mozilla.firefox",
// "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" // "winget install 7zip.7zip",
// "winget install microsoft.dotnetframework"
// ] // ]
// // valid_exit_codes = [0, 3010]
// } // }
// provisioner "powershell" { provisioner "powershell" {
// inline = [ inline = [
// "choco config set --name=limit-output --value=LimitOutput", "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12",
// "choco install -y dotnetfx", "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
// "choco install -y 7zip.install", ]
// "choco install -y sysinternals", }
// "choco install -y firefox" provisioner "powershell" {
// ] inline = [
// valid_exit_codes = [0, 3010] "choco config set --name=limit-output --value=LimitOutput",
// } "choco install -y dotnetfx",
"choco install -y 7zip.install",
"choco install -y sysinternals",
"choco install -y firefox"
]
valid_exit_codes = [0, 3010]
}
provisioner "windows-update" { provisioner "windows-update" {
} }