Az alábbiakat lehet segítségével telepíteni:
- AD-Aware
- AVG-Free
- CCleaner
- Comodo Personal Firewall
- Flash
- Firefox
- KMplayer
- CDBurnXP
- IrfanView
- Java
- Skype
- Spybot Search & Destroy
- Messenger
- .Net Framework
- Foxit Reader (PDF néző)
- Spyware Terminator
- WinRAR
- GOM Player
- Total Commnader
- uTorrent
- QuickTime Alternative
- vmi Winamp clone
- ISO Buster
Ezeken a neveken keresi az alkalmazásokat:
FRISSITÉS: most már nincsenek bedrótozva az alkalmazás nevek, hanem szét kell őket másolni alkönytárakba.
az alkonyvtarak létrehozása:
for %F in ( adaware avg ccleaner comodo flash firefox kmplayer cdburnxp irfanview java skype spybot msn dotnet foxitreader spyware winrar gomplayer totalcmd utorrent quicktime winamp isobuster z x) do mkdir %F
Ezen kivül szükség van még a Universal Extractor-ra (vagy itt).
A Total Commandert a tcmdr703 alkönyvtárba kell kicsomagolni, install.inf-et szerkeszteni:
install.inf
[auto]
auto=1
lang=12
alllang=1
iniloc=
iniall=1
mkgroup=1
mkdesktop=1
Végül maga a script.
install_set.cmd:
@echo off
REM inicializalas
REM munka_konyvtar
set temp_dir=%systemdrive%\silent_tmps
mkdir %tmp_dir%
echo %temp_dir%
VERIFY OTHER 2>nul
SETLOCAL ENABLEEXTENSIONS
IF ERRORLEVEL 1 echo Nem lehet engedelyezni a bőviteseket.
REM itt van lekezelve, mi legyen ha nincs parameter
if "%1" == "" goto help
echo Kezdjuk:
echo %1
REM itt nem lesz jo, mert miutan elfogynak a parameterek kiirja a helpet
REM for i in `seq 141 172` ; do echo -e "if \"%1\" == \"\\0$i\" goto \\0$i" ; done
REM itt feldolgozzuk a parametereket
:param
REM echo Parameter erteke if elott: %1
if "%1" == "a" goto a
if "%1" == "b" goto b
if "%1" == "c" goto c
if "%1" == "d" goto d
if "%1" == "e" goto e
if "%1" == "f" goto f
if "%1" == "g" goto g
if "%1" == "h" goto h
if "%1" == "i" goto i
if "%1" == "j" goto j
if "%1" == "k" goto k
if "%1" == "l" goto l
if "%1" == "m" goto m
if "%1" == "n" goto n
if "%1" == "o" goto o
if "%1" == "p" goto p
if "%1" == "q" goto q
if "%1" == "r" goto r
if "%1" == "s" goto s
if "%1" == "t" goto t
if "%1" == "u" goto u
if "%1" == "v" goto v
if "%1" == "w" goto w
if "%1" == "x" goto x
if "%1" == "y" goto y
if "%1" == "z" goto z
REM miutan elfogytak torli a szemetet
if "%" == "" goto vege
:eltol
REM echo csak debug miatt van
REM echo Parameter erteke eltolas elott %1
shift
REM echo csak debug miatt van
REM echo Parameter ertek eltolas utan: %1
goto param
REM for i in `seq 141 172` ; do echo -e :\\0$i \\n echo telepitese... \\n goto eltol ; done
:a
echo Ad-Aware telepitese...
for %%F in (adaware/*) do %%F /qn
goto eltol
:b
echo AVG Free telepitese...
for %%F in (avg/*) do %%F /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED /LOG "%temp_dir%\AVG\AVG7INST.LOG"
goto eltol
:c
echo CCLeaner telepitese...
for %%F in (ccleaner/*) do %%F /S
goto eltol
:d
echo Comodo telepitese...
for %%F in (comodo/*) do %%F
goto eltol
:e
echo Flash telepitese...
for %%F in (flash/*) do %%F /S
goto eltol
:f
echo Firefox telepitese...
for %%F in (firefox/*) do %%F /S
goto eltol
:g
echo KMplayer telepitese...
for %%F in (kmplayer/*) do %%F /S
goto eltol
:h
echo CDBurnXP telepitese...
for %%F in (cdburnxp/*) do %%F /SILENT
goto eltol
:i
echo IrfanView telepitese... (tesztelni!)
for %%F in (irfanview/*) do %%F /silent /folder="%programfiles%\irfanview" /desktop=1 /thumbs=1 /group=1 /allusers=0 /assoc=1 /assocallusers / silent folder =%systemdrive%\irfanview "/desktop = 1 / thumbs = 1 / group = 1 / allusers = 0 / assoc = 1 / assocallusers
goto eltol
:j
echo Java telepitese...
for %%F in (java/*) do %%F /qb
goto eltol
:k
echo Skype telepitese...
for %%F in (skype/*) do %%F /SILENT
goto eltol
:l
echo Spybot - Search & Destroy
for %%F in (spybot/*) do %%F /SILENT
goto eltol
:m
rem messenger
echo Messenger telepitese...
mkdir %systemdrive%\%temp_dir%\msn
for %%F in (msn/*) do %%F /T:%temp_dir%\msn /C
%WINDIR%\system32\msiexec /i %temp_dir%\msn\MsnMsgs.msi /qb
goto eltol
:n
rem .Net Framework
echo .NET 2.0 telepitese...
mkdir %temp_dir%\dotnet
for %%F in (dotnet/*) do %%F /T:%temp_dir%\dotnet /C
%temp_dir%\dotnet\install.exe /qb
goto eltol
:o
echo office telepitese...
goto eltol
:p
echo Foxit Reader telepitese...
for %%F in (foxitreader/*) do %WINDIR%\system32\msiexec /i %%F /qb
goto eltol
:q
echo Spyware Terminator telepitese...
for %%F in (spyware/*) do %%F /SILENT
goto eltol
:r
echo WinRAR telepitese...
for %%F in (winrar/*) do %%F /s
goto eltol
:s
echo GOM Player telepitese...
for %%F in (gomplayer/*) do %%F /S
goto eltol
:t
echo Total Commander telepitese...
totalcmd\tcmdr703\install.exe
goto eltol
:u
echo uTorrent telepitese...
for %%F in (utorrent/*) do %%F
goto eltol
:v echo QuickTime alternative telepitese...
for %%F in (quicktime/*) do %%F /SILENT
goto eltol
:w
echo mp3coolplayx telepitese...
for %%F in (/*) do %%F
goto eltol
:x
echo X telepitese...
for %%F in (x/*) do %%F
goto eltol
:y
echo ISOBuster telepitese...
for %%F in (isobuster/*) do %%F /SILENT
goto eltol
:z
echo Z telepitese...
for %%F in (z/*) do %%F
goto eltol
:help
REM for i in `seq 141 172` ; do echo -e "echo \\0$i -" ; done
cls
echo Hasznalata: %0 paramer1 parameter2 parameter3 ....
echo Ahol a szokőzzel elvalasztott parameterek az alabbi alkalmazasok telepiteset jelentik:
echo a - AD-Aware
echo b - AVG-Free
echo c - CCleaner
echo d - Comodo
echo e - Flash
echo f - Firefox
echo g - KMplayer
echo h - CDBurnXP
echo i - IrfanView
echo j - Java
echo k - Skype
echo l - Spybot - Search & Destroy
echo m - Messenger
echo n - .Net Framework
echo o - OpenOffice
echo p - Foxit Reader (PDF-nezegeto)
echo q - Spyware Terminator
echo r - WinRAR/WinZIP/7-zip
echo s - gom player
echo t - totalcommander
echo u - uTorrent
echo v - quicktime (egy mero lyuk)
echo w - winamp clone
echo x -
echo y - ISOBuster
echo z -
pause
goto kilep
:vege
echo Takaritas ...
del /q /f %temp_dir%
pause
:kilep
echo Kesz!
echo Telepitett alkalmazasok:
Nincsenek megjegyzések:
Megjegyzés küldése