20/12/15

Instalación Apps Desatendida por lotes

20/12/15 Etiquetas
Consola de comandos

Utilizando la consola de comandos cmd (antiguo msdos) podemos hacer la instalación de programas mucho más rápida. Necesitaremos los instaladores offline (offline installer) de los programas a instalar y crear un archivo BAT de proceso por lotes.

1 Ejecutamos cmd como administador
2 Nos dirigimos al directorio de las aplicaciones
3 Ejecutamos el archivo bat
4 Sin nuestra interacción se instalarán todos los programas en un tiempo record
Ejemplo de instalador .Bat:
AcroRdrDC1500920069_es_ES.exe /sAll
cdbxp_setup_4.5.6.5931_x64_minimal.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART
"Firefox Setup 43.0.1.exe" -ms
msiexec /qn /i LibreOffice_5.0.3_Win_x64.msi REGISTER_ALL_MSO_TYPES=1 REBOOTYESNO=No QUICKSTART=0 UI_LANGS=es_es ADDLOCAL=ALL REMOVE=gm_r_ex_Dictionary_Af,gm_r_ex_Dictionary_An,gm_r_ex_Dictionary_Ar,gm_r_ex_Dictionary_Be,gm_r_ex_Dictionary_Bg,gm_r_ex_Dictionary_Bn,gm_r_ex_Dictionary_Br,gm_r_ex_Dictionary_Pt_Br,gm_r_ex_Dictionary_Pt_Pt,gm_r_ex_Dictionary_Ca,gm_r_ex_Dictionary_Cs,gm_r_ex_Dictionary_Da,gm_r_ex_Dictionary_Nl,gm_r_ex_Dictionary_Et,gm_r_ex_Dictionary_Gd,gm_r_ex_Dictionary_Gl,gm_r_ex_Dictionary_Gu,gm_r_ex_Dictionary_De,gm_r_ex_Dictionary_He,gm_r_ex_Dictionary_Hi,gm_r_ex_Dictionary_Hu,gm_r_ex_Dictionary_It,gm_r_ex_Dictionary_Lt,gm_r_ex_Dictionary_Lv,gm_r_ex_Dictionary_Ne,gm_r_ex_Dictionary_No,gm_r_ex_Dictionary_Oc,gm_r_ex_Dictionary_Pl,gm_r_ex_Dictionary_Ro,gm_r_ex_Dictionary_Ru,gm_r_ex_Dictionary_Si,gm_r_ex_Dictionary_Sk,gm_r_ex_Dictionary_Sl,gm_r_ex_Dictionary_El,gm_r_ex_Dictionary_Sv,gm_r_ex_Dictionary_Te,gm_r_ex_Dictionary_Th,gm_r_ex_Dictionary_Vi,gm_r_ex_Dictionary_Zu
vlc-2.2.1-win64.exe /language=es_es /S
winrar-x64-521es.exe /s
Nos instalaría Adobe Reader, Cdburnerxp, Firefox, Libreoficce asociando ficheros oficce(sin diccionarios sobrantes ni inicio rápido), Vlc y Winrar5.