Reworked Office setup
This commit is contained in:
@@ -119,11 +119,32 @@ function SetupCustom {
|
||||
)
|
||||
Write-Host "Performing Custom Installation..."
|
||||
if ($DownloadFiles) {
|
||||
DownloadFiles -Files $DownloadFiles
|
||||
DownloadFiles -Type "Custom" -Files $DownloadFiles
|
||||
}
|
||||
if ($Office) {
|
||||
CheckOfficeInstall
|
||||
}
|
||||
if ($Users) {
|
||||
SetupUsers
|
||||
if ($EleveReg) {
|
||||
SetupEleveReg -username "Eleve"
|
||||
}
|
||||
}
|
||||
if ($RDP) {
|
||||
EnableRDP
|
||||
}
|
||||
if ($Choco) {
|
||||
InstallChoco
|
||||
if ($ChocoApps) {
|
||||
ChocoInstallApps -Type "Custom" -Apps $ChocoApps
|
||||
}
|
||||
}
|
||||
if ($Apps) {
|
||||
InstallApps -Type "Custom" -Apps $Apps
|
||||
}
|
||||
if ($Update) {
|
||||
UpdateWindows
|
||||
}
|
||||
}
|
||||
|
||||
function Show-InstallationMenu {
|
||||
|
||||
Reference in New Issue
Block a user