21 lines
876 B
PowerShell
Executable File
21 lines
876 B
PowerShell
Executable File
# Purpose: Installs chocolatey package manager, then installs custom utilities from Choco.
|
|
|
|
If (-not (Test-Path "C:\ProgramData\chocolatey")) {
|
|
Write-Host "Installing Chocolatey"
|
|
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
|
} else {
|
|
Write-Host "Chocolatey is already installed."
|
|
}
|
|
|
|
Write-Host "Installing utilities..."
|
|
If ($(hostname) -eq "win10") {
|
|
# Because the Windows10 start menu sucks
|
|
choco install -y --limit-output --no-progress classic-shell -installArgs ADDLOCAL=ClassicStartMenu
|
|
& "C:\Program Files\Classic Shell\ClassicStartMenu.exe" "-xml" "c:\vagrant\resources\windows\MenuSettings.xml"
|
|
}
|
|
choco install -y --limit-output --no-progress NotepadPlusPlus
|
|
choco install -y --limit-output --no-progress GoogleChrome
|
|
choco install -y --limit-output --no-progress WinRar
|
|
|
|
Write-Host "Utilties installation complete!"
|