WindowsDeployme - job batch example

7zip
@echo off
if not exist c:\temp mkdir c:\temp
cd /D c:\temp
7z457.msi /quiet /norestart
BEID
@echo off
:: Installation du programme officiel.
::
set BEID=c:\BEID
cd /D c:\temp
BeidMW35-5775-signed.msi /S /v /qn /Lfr
mkdir %BEID%
copy beidlib.jar %BEID%
copy be*.html %BEID%
clear_temp
@echo off
cd /D c:\temp
del /F /Q c:\temp\*.*
del_temp
@echo off
cd /D c:\temp
del /F /S /Q c:\temp\*
dia
@echo off
cd /D c:\temp
dia-setup-0.97.exe /S
copy c:\temp\*.chm "%windir%\Help"
evolution
@echo off
cd /D c:\temp
evolution-2.22.2-1.msi /quiet /norestart

firefox
@echo off
cd /D c:\temp
Firefox_Setup_3.5.7.exe -ms
copy all.js "%ProgramFiles%\Mozilla Firefox\greprefs\"

flashFirefox
@echo off
cd /D c:\temp
install_flash_player.exe /S

flash_player
@echo off
cd /D c:\temp
install_flash_player_9_active_x.msi /passive /norestart
install_flash_player_ax.exe /S
get_info
@echo off
"C:\Program Files\Common Files\Microsoft Shared\MSInfo\MSInfo32" /?
gimp
@echo off
cd /D c:\temp
gimp-2.6.6-i686-setup.exe /VERYSILENT /NORESTART
gimp-help-2-2.4.0-setup.exe /VERYSILENT /NORESTART
iexplorer7
@echo off
cd /D c:\temp
IE7-WindowsXP-x86-fra.exe /PASSIVE /QUIET /NORESTART
iexplorer8
@echo off
cd /D c:\temp
IE8-WindowsXP-x86-fra.exe /PASSIVE /QUIET /NORESTART
inkscape
@echo off
c:\temp\Inkscape-0.45.1-1.win32.exe /S /GTK=ON /SHORTCUTS=ON /ALLUSER=ON /DESKTOP=ON /SVGEDITOR=ON /LANGUAGES=ON /FR=ON /D=%ProgramFiles%\Inkscape0_45
internet 
irfanview
@echo off
cd /D c:\temp
iview425_setup.exe  /silent /folder="%APPDATA%\irfanview" /desktop=1 /thumbs=0 /group=1 /allusers=1 /assoc=0 /ini="%APPDATA%\irfanview"
java
@echo off
cd /D c:\temp
jre-6u18-windows-i586.exe /s /L C:\temp\java.log ADDLOCAL=ALL IEXPLORER=1
kompozer
@echo off
cd /D "%ProgramFiles%"
"%ProgramFiles%\7-zip\7z" x -y c:\temp\kompozer-*.zip 
cd /D "%ALLUSERSPROFILE%\Menu D*\Program*\" 
copy c:\temp\kompozer.lnk . 
noki
@echo off
cd /D c:\temp
"%programfiles%\7-zip\7z.exe" e noki-setup.zip
ocs_certif
@echo off
copy c:\temp\cacert.pem "C:\Program Files\OCS Inventory Agent\cacert.pem"
ocsng
@echo off
cd /D c:\temp
getcentre > c:\temp\centre.txt
set /P centre=<c:\temp\centre.txt

OcsAgentSetup.exe /S /SERVER:ocsng.brufor.be /pnum:80 /TAG:"%centre%"/NP /DEBUG

copy c:\temp\cacert.pem "C:\Program Files\OCS Inventory Agent\cacert.pem"

"C:\Program Files\OCS Inventory Agent\ocsinventory.exe" /server:ocsng.brufor.be /np /debug

cd /D c:\temp
del /Q /S /F *.*
opendoc
@echo off
cd /D c:\temp
FileFormatConverters.exe /quiet /passive /norestart
openoffice
@echo off
cd /D c:\temp
mkdir c:\OOo
copy OpenOffice.org3.1.7z c:\OOo
cd /D c:\OOo
"%ProgramFiles%\7-Zip\7z.exe" x OpenOffice.org3.1.7z
%windir%\system32\msiexec /quiet /norestart /package openofficeorg31.msi
del /F /S /Q c:\OOo\*
rmdir c:\OOo
openproj
@echo off
cd /D c:\temp
openproj-1.4.msi  /quiet /norestart
opera_school
@echo off
cd /D c:\temp

ar81eng.exe /sALL /rs
installJinitCheck.exe  /s
installmfprint.exe /s
installOperaPrintCtrl.exe /s
installregterm.exe /s
opera_jinit_1012_25.exe /s

copy opera.ico "%windir%"
copy opera.lnk "%ALLUSERSPROFILE%\Bureau"
owb
@echo off
c:
cd c:\temp
owbsetup-114.exe /S /v/qn
pdfCreator
@echo off
cd /D c:\temp
PDFCreator-0_9_8_setup.exe /VERYSILENT /NORESTART
cd /D c:\temp
del PDFCreator-0_9_8_setup.exe
del pdfCreator.bat
proxy
@echo off
regedit /S c:\temp\IE.reg
quicktime
@echo off
cd /D c:\temp
QuickTimeInstaller.exe /quiet /norestart
del quicktime*.*
rdesktop
@echo off
cd /D c:\temp
Rdesktop-1.5.0.msi /quiet /norestart
reader
@echo off
cd /D c:\temp
AdbeRdr900_fr_FR.exe /sAll /rs /sl "32"
shockwave
@echo off
cd /D c:\temp
sw_lic_full_installer /S
shutdown
@echo off
copy c:\temp\shutdown.exe %windir%\system32\
sp3
@echo off
cd /D c:\temp
WindowsXP-KB936929-SP3-x86-FRA.exe /quiet /norestart
thunderbird
@echo off
cd /D c:\temp
Thunderbird_Setup_3.0.exe -ms
visio
@echo off
cd /D c:\temp
"%ProgramFiles%\7-Zip\7z.exe" x  -oc:\temp -y visio2007pro.exe
cd /D c:\temp
setup.exe /adminfile visio2007pro.msp
vlc
@echo off
cd /D c:\temp
vlc-1.0.5-win32.exe /S
vnc
@echo off
c:\Temp\tightvnc-1.3.10-setup.exe /sp /verysilent
"c:\Program Files\TightVnc\winvnc" -install
cmd /c regedit /S c:\Temp\vnc.reg
net start "vnc server"
exit
wpkg
@echo off
cd /D c:\temp
"%windir%\system32\msiexec.exe" /i "WPKG_Client_1.2-rc6.msi /quiet"
zarafa
@echo off
cd /D c:\temp
zarafaclient-6.30.14.msi /quiet /norestart

All batch scripts respond to GPL license version 3. No garanty and no responsability to any dommage.


Project Web Hosted by SourceForge.net

©Copyright 1999-2009 - Geeknet, Inc., All Rights Reserved

About - Legal - Help