-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathchoco-install-apps.ps1
95 lines (73 loc) · 2.62 KB
/
choco-install-apps.ps1
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# ------------- App hashtables ("dictionaries") -----------------
# Modify this to you linking. Just un-comment or comment (#) software you want to have / don't want to have.
# For further instructions see: https://github.com/vii33/ChocoVanillaPackage
$packagesBasic = @{
# --- Basics ---
'7zip'='';
notepadplusplus='';
vlc='';
irfanview='';
irfanviewplugins='';
adobereader='--params="/UpdateMode:4"';
#foxitreader='--ia="/MERGETASKS=!desktopicon,!displayinbrowser /COMPONENTS=*pdfviewer,*ffse,*installprint,!ffaddin,*ffspellcheck,!connectedpdf.!installprint\wordaddin,!installprint\pptaddin,!installprint\exceladdin /DIR=D:\Programme\choco\foxitreader"';
# --- Browsers ---
googlechrome='';
#firefox='--params="/l:de /NoDesktopShortcut /RemoveDistributionDir"';
#opera='--params="/NoDesktopShortcut /NoTaskbarShortcut"';
# --- File Sync Tools ---
#dropbox='';
#googledrive='';
# --- Collaboration Tools ---
zoom='';
'microsoft-teams'='';
#discord='';
# --- System administration ---
chocolateygui='';
windirstat='';
teamviewer='';
'cpu-z.install'='';
'freecommander-xe.install'='';
# --- Crypto ---
keepass='';
#veracrypt='';
}
$packagesDev = @{
# --- General ---
vscode='--params="/NoDesktopIcon /NoQuicklaunchIcon"';
git='';
'github-desktop'='';
sourcetree='';
# --- API Clients ---
postman='';
'insomnia-rest-api-client'='';
# --- Cloud ---
#'azure-cli'='';
#'aws-vault'='';
# --- Languages ---
miniconda3='--params="/InstallationType:JustMe /AddToPath:1 /RegisterPython:1"';
#'nodejs.install'='';
#'dotnetcore-sdk'='';
}
# --------------------------------------------------------------
# --------------------- Script start ---------------------------
Write-Host "`n --- The CHOCO VANILLA PACKAGE --- " -ForegroundColor black -BackgroundColor white
Write-Host "https://github.com/vii33/ChocoVanillaPackage `n" -ForegroundColor green
$Break = $False
Do{
switch (Read-Host "Which apps should be installed? Enter 'b' for basic apps, 'v' for developer apps. If you want both, then run the
script two times."){
b { $packToInstall = $packagesBasic; $Break = $True}
v { $packToInstall = $packagesDev; $Break = $True}
e { exit }
default { Write-Host "Wrong input. Plase provide the character 'b' or 'v'. Select 'e' for exit." -ForegroundColor red }
}
} While ($Break -eq $False)
ForEach($key in $packToInstall.Keys){
if ($packToInstall[$key]) {
choco install $key -y $packToInstall[$key]
}
else {
# Default installer
choco install $key -y
}
}