Scripts
TiYeuBleu76
-
dubcek Messages postés 18793 Date d'inscription Statut Contributeur Dernière intervention -
dubcek Messages postés 18793 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
voici mon script :
@echo off
cls
title Install logiciels
echo.
echo Copie en cours...
echo.
@xcopy *.* %systemdrive%\ /E /Y
echo.
echo Installation en cours...
echo.
echo Installation de amsn
start /wait %systemdrive%\auto\apps\amsn.exe
echo.
echo Installation de Ccleaner
start /wait %systemdrive%\auto\apps\ccleaner.exe
echo.
echo Installation de Firefox
start /wait %systemdrive%\auto\apps\firefox.exe
echo.
echo Installation de Flashplayer
start /wait %systemdrive%\auto\apps\flashplayer.exe
echo.
echo Installation de Java
start /wait %systemdrive%\auto\apps\java.exe
echo.
echo Installation de K Lite Mega Codec Pack
start /wait %systemdrive%\auto\apps\klite.exe
echo.
echo Installation de Open Office
start /wait %systemdrive%\auto\apps\openoffice.exe
echo.
echo Installation de PDFX
start /wait %systemdrive%\auto\apps\pdfx.exe
echo.
echo Installation de Supercopier
start /wait %systemdrive%\auto\apps\superc2.exe
echo.
echo Installation de Thunderbird
start /wait %systemdryve%\auto\apps\thunderbird.exe
echo.
echo Installation de VLC
start /wait %systemdrive%\auto\apps\vlc.exe
echo.
echo Installation de Winrar
start /wait %systemdrive%\auto\apps\winrar.exe
echo.
echo Installation des scripts en cours...
echo.
echo Installation des raccourcis
start /wait %systemdrive%\auto\scripts\tableur.vbs
start /wait %systemdrive%\auto\scripts\traitement.vbs
echo.
echo Suppression des raccourcis inutiles
del "%ALLUSERSPROFILE%\Bureau\Nero Online Upgrade.LNK"
del "%ALLUSERSPROFILE%\Bureau\OpenOffice.org 3.0.LNK"
del "%ALLUSERSPROFILE%\Bureau\Adobe Reader 9.LNK"
echo.
echo Copie OEM
copy "%systemdrive%\auto\system32\*.*" "%systemdrive%\WINDOWS\system32\"
echo.
echo.
echo Suppression du dossier temporaire...
echo.
rd /s /q %systemdrive%\auto\
rd /s /q %systemdrive%\INSTALL.bat
echo.
exit
Alors ma question :
Peut-on mettre une "balise" a chaque logiciel qui demanderais si on veut l'installer et qu'on répondrais par O ou N ?
voici mon script :
@echo off
cls
title Install logiciels
echo.
echo Copie en cours...
echo.
@xcopy *.* %systemdrive%\ /E /Y
echo.
echo Installation en cours...
echo.
echo Installation de amsn
start /wait %systemdrive%\auto\apps\amsn.exe
echo.
echo Installation de Ccleaner
start /wait %systemdrive%\auto\apps\ccleaner.exe
echo.
echo Installation de Firefox
start /wait %systemdrive%\auto\apps\firefox.exe
echo.
echo Installation de Flashplayer
start /wait %systemdrive%\auto\apps\flashplayer.exe
echo.
echo Installation de Java
start /wait %systemdrive%\auto\apps\java.exe
echo.
echo Installation de K Lite Mega Codec Pack
start /wait %systemdrive%\auto\apps\klite.exe
echo.
echo Installation de Open Office
start /wait %systemdrive%\auto\apps\openoffice.exe
echo.
echo Installation de PDFX
start /wait %systemdrive%\auto\apps\pdfx.exe
echo.
echo Installation de Supercopier
start /wait %systemdrive%\auto\apps\superc2.exe
echo.
echo Installation de Thunderbird
start /wait %systemdryve%\auto\apps\thunderbird.exe
echo.
echo Installation de VLC
start /wait %systemdrive%\auto\apps\vlc.exe
echo.
echo Installation de Winrar
start /wait %systemdrive%\auto\apps\winrar.exe
echo.
echo Installation des scripts en cours...
echo.
echo Installation des raccourcis
start /wait %systemdrive%\auto\scripts\tableur.vbs
start /wait %systemdrive%\auto\scripts\traitement.vbs
echo.
echo Suppression des raccourcis inutiles
del "%ALLUSERSPROFILE%\Bureau\Nero Online Upgrade.LNK"
del "%ALLUSERSPROFILE%\Bureau\OpenOffice.org 3.0.LNK"
del "%ALLUSERSPROFILE%\Bureau\Adobe Reader 9.LNK"
echo.
echo Copie OEM
copy "%systemdrive%\auto\system32\*.*" "%systemdrive%\WINDOWS\system32\"
echo.
echo.
echo Suppression du dossier temporaire...
echo.
rd /s /q %systemdrive%\auto\
rd /s /q %systemdrive%\INSTALL.bat
echo.
exit
Alors ma question :
Peut-on mettre une "balise" a chaque logiciel qui demanderais si on veut l'installer et qu'on répondrais par O ou N ?
A voir également:
- Scripts
- Microsoft activation scripts (mas) - Accueil - Windows
- Scripts blue lock rivals - Guide
- Mac automator scripts - Guide
- [Crontab] scripts toutes les n minutes ✓ - Forum Shell
- GPO / Scripts extinctions postes utilisateurs - Forum Windows serveur