-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path001.installChocolatey_cmd.bat
More file actions
26 lines (19 loc) · 1.24 KB
/
001.installChocolatey_cmd.bat
File metadata and controls
26 lines (19 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
rem #### 001.installChocolatey
rem #### install chocolatey - http://community.spiceworks.com/scripts/show/2602-chocolatey-nuget-install-command-line-method
rem #### All Windows versions support commenting a line and uncommenting another.
cd..
cd..
cd downloads
rem @powershell Write-Host "Installing Chocolatey, Nuget Package Explorer and ChocolateyGUI... Please wait"
rem @powershell Start-Sleep -s 3
rem #### for Windows Vista and upper (7, 8, 8.1, 10, etc)
rem @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
rem #### for Windows XP
rem @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
@powershell Write-Host "All the processes has been realized. Enjoy it!"
rem cinst chocolateygui
rem cinst OuiGuiChocolatey
rem cinst ChocoPM.install -Pre
rem pause