1iJaCk

choco_dl_install.bat

Jan 6th, 2017
364
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.21 KB | None | 0 0
  1. @echo off
  2. :: NO support :: Use at your own risk :: no warranty ::
  3. ::
  4. :: choco_dl_install.bat
  5. ::   01/06/2017 :: By: JaCk
  6. ::   03/05/2015 :: JaCk -- Removed prompt changes to cmd console; make jack's apps optional
  7. ::
  8.  
  9. :: Admin Check
  10. set "_console_elevated="
  11. "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 2>&1>nul && set /a "_console_elevated+=1"
  12.  
  13.  
  14. if not defined _console_elevated (
  15.     echo Set Admin = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
  16.     echo Admin.ShellExecute WScript.Arguments^(0^), "", "", "runas", 1 >> "%temp%\getadmin.vbs"
  17. )
  18.  
  19.  
  20. if defined _console_elevated (
  21.     echo INFO: Admin Elevated Console [x]
  22.     goto gotAdmin
  23. ) else (
  24.     echo INFO: Admin Elevated Console [ ]
  25.     if exist "%temp%\getadmin.vbs" (
  26.         echo INFO: Starting Script in Admin Mode.
  27.         call cscript "%temp%\getadmin.vbs" "%~s0"
  28.     ) else (
  29.         echo ERROR: Please restart with admin privledges...
  30.         timeout /t 30  
  31.     )
  32. )
  33.  
  34. goto :eof
  35. :gotAdmin
  36.  
  37. :: Download and intall Chocolatey
  38. @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
  39.  
  40. set "install_jack_apps=N"
  41. set /p "install_jack_apps=Prompt: Install jacks applist? [y/N]:"
  42. if /i "%install_jack_apps:~0,1%" neq "y" (
  43.     refreshenv
  44.     timeout /t 60
  45.     goto :eof
  46. )
  47.  
  48. :: Update to latest version
  49. choco upgrade -y all
  50.  
  51. :: Install all apps
  52. choco install -y ^
  53. ChocolateyGUI DotNet3.5 ^
  54. GoogleChrome ^
  55. 7zip winrar ^
  56. cccp spotify mpc-hc aimp vlc mediatab obs-studio audioshell ^
  57. irfanview irfanviewplugins ^
  58. python3 jre8 jdk8 ^
  59. notepadplusplus openinsublimetext sublimetext3 sublimetext3.packagecontrol sublimetext3-contextmenu ^
  60. VisualStudio2015Community npm bower nodejs nodejs.install npmtaskrunner nodejs.commandline flattenpackages io.js ^
  61. qbittorrent utorrent ^
  62. mumble curse-voice skype discord ^
  63. poweriso universal-usb-installer linkshellextension hddguardian sysinternals windirstat shutup10
  64.  
  65. :: Special Downloader
  66. choco install -y  --allowemptychecksumsecure --allowemptychecksum ^
  67. steam battle.net ^
  68. mipony
  69.  
  70. :: Install Non-Admin
  71. choco install -y ^
  72. spotify
  73.  
  74. refreshenv
  75. timeout /t 60
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment