Je viens vers vous car je me trouve bloqué devant quelque chose que je ne sais pas faire du tout.
J'ai créé un fichier batch pour le magasin ou je travail qui me permet de faire mes installations de Windows plus rapidement. Et j'aimerai avoir un interface graphique pour sélectionner les programmes a installer.
Voici le fichier bat qui est un peu long ^^ mais j'ai pas su faire plus court, désolé.
► Afficher le textemon fichier (désolé pour la longueur encore une fois)
Code : Tout sélectionner
@echo off
cls
color 8E
title Installation Pack
set vwin= &set ID= &set archi= &set sp=
ver | find /i "version 6.1." > nul
if %errorlevel%==0 set vwin=Windows 7
ver | find /i "version 6.0." > nul
if %errorlevel%==0 set vwin=Windows Vista
ver | find /i "version 5.1." > nul
if %errorlevel%==0 set vwin=Windows XP
ver | find /i "version 5.2." > nul
if %errorlevel%==0 set vwin=Windows 2003
ver | find /i "Windows 2000" > nul
if %errorlevel%==0 set vwin=Windows 2000
ver | find /i "Windows NT" > nul
if %errorlevel%==0 set vwin=Windows NT
ver | find /i ">Windows ME" > nul
if %errorlevel%==0 set vwin=Windows ME
ver | find /i "Windows 98" > nul
if %errorlevel%==0 set vwin=Windows 98
ver | find /i "Windows 95" > nul
if %errorlevel%==0 set vwin=Windows 95
for /f "tokens=2,*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" 2^>NUL ^| Find "EditionID" 2^>NUL') do set ID=%%b
if %PROCESSOR_ARCHITECTURE%==AMD64 (set archi=64bits)
if %PROCESSOR_ARCHITECTURE%==x86 (set archi=32bits)
if defined PROCESSOR_ARCHITEW6432 (set archi=Processus 32 bits sur une plateforme 64 bits)
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CSDversion >NUL 2>NUL || goto aftertest
for /f "delims=: tokens=*" %%X in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CSDversion ^| find "Service Pack 3"') do set SP=3
for /f "delims=: tokens=*" %%X in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CSDversion ^| find "Service Pack 2"') do set SP=2
for /f "delims=: tokens=*" %%X in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CSDversion ^| find "Service Pack 1"') do set SP=1
:aftertest
if "%sp%"=="" (set typeOS=%vwin% %archi% without service pack
goto end
)
set typeOS=%vwin% %ID% - %archi% - Service Pack %sp%
:end
echo Version de Windows detecte : %typeOS%
:question21
echo.
echo Voulez vous activer Windows ?
echo.
echo 1) - OUI
echo.
echo 2) - NON
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :OUI)
if /I "%choix%"=="2" (goto :NON)
goto question21
:OUI
:question22
echo.
echo Quel version de Windows ?
echo.
echo 1) - XP
echo.
echo 2) - Vista ou 7
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :OUI1)
if /I "%choix%"=="2" (goto :OUI2)
goto question22
:OUI1
@echo off
echo.
echo ...... Activation de Windows .......
cd %userprofile%\Desktop\Pack\Activation Windows XP\
AntiWPA3.bat
echo ...... Activtion termine.
goto INST
:OUI2
@echo off
echo.
echo ...... Activation de Windows .......
cd %userprofile%\Desktop\Pack\Activation Vista et 7\
Windows_Loader.exe
echo ...... Activtion termine.
goto INST
:NON
goto INST
:INST
:question
echo.
echo 1) - Installation Pour Windows XP
echo.
echo 2) - Installation Pour Windows Vista 32
echo.
echo 3) - Installation Pour windows Vista 64
echo.
echo 4) - Installation Pour Windows 7 32
echo.
echo 5) - Installation Pour Windows 7 64
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :A)
if /I "%choix%"=="2" (goto :B)
if /I "%choix%"=="3" (goto :C)
if /I "%choix%"=="4" (goto :D)
if /I "%choix%"=="5" (goto :E)
goto question
:A
:question1
echo.
echo Quel antivirus installer ?
echo.
echo 1) - Microsoft Security essential
echo.
echo 2) - AVG
echo.
echo 3) - Avast
echo.
echo 4) - Sans Antivirus
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :AA)
if /I "%choix%"=="2" (goto :AB)
if /I "%choix%"=="3" (goto :AC)
if /I "%choix%"=="4" (goto :AD)
goto question1
:B
:question2
echo.
echo Quel antivirus installer ?
echo.
echo 1) - Microsoft Security essential
echo.
echo 2) - AVG
echo.
echo 3) - Avast
echo.
echo 4) - Sans Antivirus
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :BA)
if /I "%choix%"=="2" (goto :BB)
if /I "%choix%"=="3" (goto :BC)
if /I "%choix%"=="4" (goto :BD)
goto question2
:C
:question3
echo.
echo Quel antivirus installer ?
echo.
echo 1) - Microsoft Security essential
echo.
echo 2) - AVG
echo.
echo 3) - Avast
echo.
echo 4) - Sans Antivirus
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :CA)
if /I "%choix%"=="2" (goto :CB)
if /I "%choix%"=="3" (goto :CC)
if /I "%choix%"=="4" (goto :CD)
goto question3
:D
:question4
echo.
echo Quel antivirus installer ?
echo.
echo 1) - Microsoft Security essential
echo.
echo 2) - AVG
echo.
echo 3) - Avast
echo.
echo 4) - Sans Antivirus
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :DA)
if /I "%choix%"=="2" (goto :DB)
if /I "%choix%"=="3" (goto :DC)
if /I "%choix%"=="4" (goto :DD)
goto question4
:E
:question5
echo.
echo Quel antivirus installer ?
echo.
echo 1) - Microsoft Security essential
echo.
echo 2) - AVG
echo.
echo 3) - Avast
echo.
echo 4) - Sans Antivirus
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :EA)
if /I "%choix%"=="2" (goto :EB)
if /I "%choix%"=="3" (goto :EC)
if /I "%choix%"=="4" (goto :ED)
goto question5
:AA
:question6
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :1)
if /I "%choix%"=="2" (goto :2)
goto question6
:1
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_4-3_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AA1
:2
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_16-9_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AA1
:AA1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe -install-global-extension %userprofile%\Desktop\Pack\Navigateur\adblock.xpi /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblock.xpi %ProgramFiles%\Mozilla Firefox\extensions\ /y /q
xcopy navigateur\profil\*.* %userprofile%\%AppData%\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 8 ......
rem indiquer l’emplacement de IE8
rem cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de IE8
rem IE8-WindowsXP-x86-FRA.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE8 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse Libre Office
rem Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Acrobat Reader
rem AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse du plugin Flashplayer
rem flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de VLC
rem vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Izarc
rem IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
rem burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de teracopy
rem Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de Microsoft Security Essential ......
rem indiquer l'emplacement du fichier MSE
cd /D %userprofile%\Bureau\Pack\Antivirus\
rem lancement installation silencieuse de MSE
MSE_vista_7_32.exe /s /runwgacheck /o
echo ...... Installation de MSE termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
rem cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de MSN
rem WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
goto end
:AB
:question7
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :3)
if /I "%choix%"=="2" (goto :4)
goto question7
:3
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_4-3_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AB1
:4
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_16-9_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AB1
AB1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe -install-global-extension %userprofile%\Desktop\Pack\Navigateur\adblock.xpi /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 8 ......
rem indiquer l’emplacement de IE8
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de IE8
IE8-WindowsXP-x86-FRA.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE8 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd /D %userprofile%\Bureau\Pack\
lancement installation silencieuse de teracopy
rem Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de AVG Free ......
rem indiquer l'emplacement du fichier AVG Free
cd /D %userprofile%\Bureau\Pack\Antivirus\
rem lancement installation silencieuse de AVG Free
AVG Free 2012 x32.exe /s /qn /noREBOOT
echo ...... Installation de AVG Free termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
goto end
:AC
:question8
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :5)
if /I "%choix%"=="2" (goto :6)
goto question8
:5
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_4-3_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AC1
:6
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_16-9_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AC1
:AC1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe -install-global-extension %userprofile%\Desktop\Pack\Navigateur\adblock.xpi /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 8 ......
rem indiquer l’emplacement de IE8
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de IE8
IE8-WindowsXP-x86-FRA.exe /passive /no-default /no-update /norestart
echo ...... Installation de IE8 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de Avast antivirus ......
rem indiquer l'emplacement du fichier avast
cd /D %userprofile%\Bureau\Pack\Antivirus\
rem lancement installation silencieuse d'Avast
avast_free_7_antivirus_setup.exe /VERYSILENT /SP
echo ...... Installation d'avast termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
goto end
:AD
:question6
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :31)
if /I "%choix%"=="2" (goto :32)
goto question6
:31
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_4-3_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AD1
:32
@echo off
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy oemlogo.bmp %windir%\system32\ /y /q
xcopy oeminfo.ini %windir%\system32\ /y /q
xcopy fond\*.bmp %windir%\web\wallpaper\ /y /q
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /F /D "%windir%\web\wallpaper\Pack_16-9_1.bmp"
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto AD1
:AD1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe -install-global-extension %userprofile%\Desktop\Pack\Navigateur\adblock.xpi /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 8 ......
rem indiquer l’emplacement de IE8
cd /D %userprofile%\Bureau\Pack\Navigateur\
rem lancement installation silencieuse de IE8
IE8-WindowsXP-x86-FRA.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE8 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
goto end
:BA
:question9
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :7)
if /I "%choix%"=="2" (goto :8)
goto question9
:7
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_4-3_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto BA1
:8
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_16-9_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto BA1
:BA1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 9 ......
rem indiquer l’emplacement de IE9
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de IE9
IE9-WindowsVista-x86-fra.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE9 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de Microsoft Security Essential ......
rem indiquer l'emplacement du fichier MSE
cd %userprofile%\Desktop\Pack\Antivirus\
rem lancement installation silencieuse de MSE
MSE_vista_7_32.exe /s /runwgacheck /o
echo ...... Installation de MSE termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
echo.
echo ...... Reactivation Controle Compte Utilisateur ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
echo ...... Controle Reactive.
goto end
:BB
:question10
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :9)
if /I "%choix%"=="2" (goto :10)
goto question10
:9
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_4-3_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
cho ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto BB1
:10
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_16-9_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto BB1
:BB1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 9 ......
rem indiquer l’emplacement de IE9
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de IE9
IE9-WindowsVista-x86-fra.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE9 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de AVG Free ......
rem indiquer l'emplacement du fichier AVG Free
cd %userprofile%\Desktop\Pack\Antivirus\
rem lancement installation silencieuse de AVG Free
AVG Free 2012 x32.exe /s /qn /noREBOOT
echo ...... Installation de AVG Free termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
echo.
echo ...... Reactivation Controle Compte Utilisateur ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
echo ...... Controle Reactive.
goto end
:BC
:question11
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :11)
if /I "%choix%"=="2" (goto :12)
goto question11
:11
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_4-3_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto BC1
:12
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_16-9_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto BC1
:BC1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 9 ......
rem indiquer l’emplacement de IE9
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de IE9
IE9-WindowsVista-x86-fra.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE9 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer32.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de Avast antivirus ......
rem indiquer l'emplacement du fichier avast
cd %userprofile%\Desktop\Pack\Antivirus\
rem lancement installation silencieuse d'Avast
avast_free_7_antivirus_setup.exe /VERYSILENT /SP
echo ...... Installation d'avast termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
echo.
echo ...... Reactivation Controle Compte Utilisateur ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
echo ...... Controle Reactive.
goto end
:CA
:question12
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :13)
if /I "%choix%"=="2" (goto :14)
goto question12
:13
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_4-3_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto CA1
:14
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_16-9_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto CA1
:CA1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 9 ......
rem indiquer l’emplacement de IE9
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de IE9
IE9-WindowsVista-x64-fra.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE9 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer64.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de Microsoft Security Essential ......
rem indiquer l'emplacement du fichier MSE
cd %userprofile%\Desktop\Pack\Antivirus\
rem lancement installation silencieuse de MSE
MSE_vista_7_64.exe /s /runwgacheck /o
echo ...... Installation de MSE termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
echo.
echo ...... Reactivation Controle Compte Utilisateur ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
echo ...... Controle Reactive.
goto end
:CB
:question13
echo.
echo Quel format d'ecran ?
echo.
echo 1) - 4/3
echo.
echo 2) - 16/9
echo.
set /p choix=Que voulez vous faire ? :
if /I "%choix%"=="1" (goto :15)
if /I "%choix%"=="2" (goto :16)
goto question13
:15
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_4-3_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto CB1
:16
@echo off
echo.
echo ...... Desactivation Controle Comptes Utilisateurs ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
echo ...... Controle desactive.
echo.
echo ...... Copie des fonds d'ecrans et des Informations systemes .......
xcopy "%userprofile%\Desktop\Pack\oemlogo.bmp" "%windir%\system32" /y /q
xcopy "%userprofile%\Desktop\Pack\fond\*.jpg" "%windir%\web\wallpaper\Pack\" /y /q
regedit /s "%userprofile%\Desktop\Pack\Pack.reg"
echo ...... Copie termine.
echo ...... Configuration du fond d'ecran ......
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%windir%\web\wallpaper\Pack\Pack_16-9_1.jpg"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
echo.
echo ...... Configuration termine.
%Windir%\System32\rundll32.exe user32.dll,UpdatePerUserSystemParameters ,1,1
goto CB1
:CB1
@echo off
echo.
echo ...... Installation Firefox ......
rem indiquer l’emplacement du fichier firefox.exe
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de firefox
firefox_setup.exe /-ms /noreboot
echo ...... Installation de Firefox termine.
echo ...... Installation plugin Firefox ......
xcopy navigateur\adblockplus\ %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\ /y /q
xcopy navigateur\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi %AppData%\Roaming\Mozilla\Firefox\Profiles\[xxxx].default\extensions\ /y /q
echo ...... Installation du plugin Firefox termine.
@echo off
echo.
echo ...... Installation Insternet Explorer 9 ......
rem indiquer l’emplacement de IE9
cd %userprofile%\Desktop\Pack\Navigateur\
rem lancement installation silencieuse de IE9
IE9-WindowsVista-x64-fra.exe /passive /no-default /update-no /norestart
echo ...... Installation de IE9 termine.
@echo off
echo.
echo ...... Installation Libre Office ......
rem indiquer l'emplacement du fichier Libre Office.msi
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse Libre Office
Libreoffice.msi /quiet
echo ...... Installation de Libre Office termine.
@echo off
echo.
echo ...... Installation Acrobat Reader ......
rem indiquer l'emplacement du fichier Acrobat Reader
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Acrobat Reader
AdobeReader.exe /S /qn /sAll /rs /noreboot
echo ...... Installation d'Acrobat Reader termine.
@echo off
echo.
echo ...... Installation plugin Flasplayer ......
rem indiquer l'emplacement du fichier flashplayer.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse du plugin Flashplayer
flashplayer64.msi /quiet
echo ...... Installation du plugin Flashplayer termine.
@echo off
echo.
echo ...... Installation de VLC ......
rem indiquer l'emplacement du fichier vlc.exe
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de VLC
vlc.exe -y /q /r:n /S
echo ...... Installation de VLC termine.
@echo off
echo.
echo ...... Installation Izarc ......
rem indiquer l'emplacement du fichier Izarc
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse d'Izarc
IZArc.exe /Silent /Norestart
echo ...... Installation d'Izarc termine.
@echo off
echo.
echo ...... Installation Burnaware Free ......
rem indiquer l'emplacement du fichier Burnaware
cd /D %userprofile%\Bureau\Pack\
rem lancement installation silencieuse de Burnaware
burnaware_free.exe /Silent /Norestart
echo ...... Installation de Burnaware termine.
@echo off
echo.
echo ...... Installation Teracopy ......
rem indiquer l'emplacement du fichier Teracopy
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de teracopy
Teracopy.exe /Silent /Norestart
echo ...... Installation de Teracopy termine.
@echo off
echo.
echo ...... Installation de AVG Free ......
rem indiquer l'emplacement du fichier AVG Free
cd %userprofile%\Desktop\Pack\Antivirus\
rem lancement installation silencieuse de AVG Free
AVG Free 2012 x64.exe /s /qn /noREBOOT
echo ...... Installation de AVG Free termine.
@echo off
echo.
echo ...... Installation de Messenger ......
rem indiquer l'emplacement du fichier MSN
cd %userprofile%\Desktop\Pack\
rem lancement installation silencieuse de MSN
WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /nolaunch /nosearch /AppSelect:Messenger
echo ...... Installation de MSN termine.
echo.
echo ...... Reactivation Controle Compte Utilisateur ......
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
echo ...... Controle Reactive.
goto end
*******************Manquant******************
:end
@echo off
echo.
echo ...... Fin des Installations ......
echo.
echo Appuyer sur une touche pour que l'ordinateur redemarre et applique les modifications.
pause >nul
shutdown -r -t 0 -fLe fichier n'est pas encore totalement fonctionnelle pour 2 ou 3 logiciels ou je n'ai pas encore trouvé les paramètres d'installation silencieuse, mais j'y travail ^^.
L'idée c'est que je voudrais un système non bloqué pour pouvoir mettre a jour régulièrement les versions des logiciels.
Si une âme charitable pouvais m’aidai je lui en serai très reconnaissant.





