Jump to content

Problem with programs using CMD install


Recommended Posts

Hello

My all programs opens in the same time during instalation and saying "another instalation in progres"

There is my start.cmd

@echo off
title Instalacija programa

echo.
echo Instaliram NET framework 2.0
echo Pricekajte...
start /wait %systemdrive%\install\NETframework2.0.exe /q:a /c:"install /q"

echo.
echo Instaliram Windows Installer 3.1
echo Pricekajte...
start /wait %systemdrive%\install\WindowsInstaller3.1.exe /silent /noreboot

echo.
echo Instaliram Visual studio runtime 6.0 sp5
echo Pricekajte...
start /wait %systemdrive%\install\Visualstudioruntime6.0sp5.exe /q:a /c:"install /q"

echo.
echo Instaliram IZArc
echo Pricekajte...
start /wait %systemdrive%\install\IZArc4.1.exe /Silent

echo.
echo Instaliram CCleaner
echo Pricekajte...
start /wait %systemdrive%\install\CCleaner2.28.exe /S

echo.
echo Instaliram Process Master
echo Pricekajte...
start /wait %systemdrive%\install\ProcessMaster.exe /silent

echo.
echo Instaliram Utorrent
echo Pricekajte...
start /wait %systemdrive%\install\utorrent2.0.exe /S

echo.
echo Instaliram WinRar
echo Pricekajte...
start /wait %systemdrive%\install\wrar38b5.exe /s

echo.
echo Instaliram Xfire
echo Pricekajte...
start /wait %systemdrive%\install\Xfire.exe /S
ping -n 30 127.0.0.1 >NUL

echo.
echo Instaliram 7-zip
echo Pricekajte...
start /wait %systemdrive%\install\7zip465.exe /S

echo.
echo Instaliram Adobe Reader 9
echo Pricekajte...
start /wait %systemdrive%\install\AdobeReader9.exe /sAll -nos_ne

echo.
echo Instaliram Klite Mega Codec Pack
echo Pricekajte...
start /wait %systemdrive%\install\KLiteCodecPackMega561.exe /SILENT /SP-

echo.
echo Instaliram Unlocker
echo Pricekajte...
start /wait %systemdrive%\install\unlocker1.8.exe /S

echo.
echo Instaliram Thunderbird
echo Pricekajte...
start /wait %systemdrive%\install\Thunderbird3.0.exe -ms -ira

echo.
echo Instaliram Skype
echo Pricekajte...
start /wait %systemdrive%\install\Skype.exe /VERYSILENT /SP- /NORESTART

echo.
echo Instaliram Operu
echo Pricekajte...
start /wait %systemdrive%\install\Opera10.exe /s /v/qb

echo.
echo Instaliram Mozillu firefox
echo Pricekajte...
start /wait %systemdrive%\install\mozilla\Firefox3.6.exe -ms -ira

echo.
echo Instaliram BSplayer
echo Pricekajte...
start /wait %systemdrive%\install\bsplayer\bsplayerpro2.1.exe /S

echo.
echo Registriram BSplayer
echo Kopiram datoteke...
copy "C:\install\bsplayer\key.reg" "C:\Program Files\Webteh\BSplayerPro" /y

echo.
echo Instaliram DVD shrink
echo Pricekajte...
start /wait %systemdrive%\install\DVDshrink.exe /verysilent

echo.
echo Instaliram Subtitle Workshop
echo Pricekajte...
start /wait %systemdrive%\install\SubtitleWorkshop4.exe /S

echo.
echo Instaliram Open Office 2.0
echo Pricekajte...
start /wait %systemdrive%\install\OpenOffice2.0\openofficeorg20.msi /qn

echo.
echo Instaliram Neru
echo Pricekajte...
start /wait %systemdrive%\install\nero6\nero6.exe /S

echo.
echo Registriram Neru
echo Pricekajte...
REGEDIT /S %systemdrive%\install\nero6\registracija.reg

echo.
echo Instaliram Winamp
echo Pricekajte...
start /wait %systemdrive%\install\winamp5571_full.exe /S /install=SFQDRA

echo.
echo Uklanjam Winamp Remote
echo Pricekajte...
"C:\Progra~1\Winamp~1\uninstall.exe" /S /install=SFQDRA

echo.
echo Uklanjam Winamp Toolbar
echo Pricekajte...
"C:\Progra~1\Winamp~2\\uninstall.exe" /S /install=SFQDRA

echo.
echo Uklanjam Winamp Music
echo Pricekajte...
"C:\Progra~1\Winamp\eMusic\Uninst-eMusic-promotion.exe" /S /install=SFQDRA

echo.
echo Instaliram Hijack This
echo Pricekajte...
start /wait %systemdrive%\install\HijackThis.msi /qb

echo.
echo Instaliram Spybot Search&Destroy
echo Pricekajte...
start /wait %systemdrive%\install\spybotsd162.exe /VERYSILENT /NORESTART /SP-

echo.
echo Instaliram Avast
echo Pricekajte...
start /wait %systemdrive%\install\Avast4home.exe /silent

echo.
echo Instalacija programa zavrsena

echo.
echo Importing registry
REGEDIT /S %systemdrive%\install\HKCU.reg
REGEDIT /S %systemdrive%\install\HKLM.reg

echo.
echo Removing pictures and screensavers...
del "%systemroot%\*.bmp"
del "%systemroot%\Web\Wallpaper\*.jpg"
del "%systemroot%\system32\dllcache\*.scr"
del "%systemroot%\system32\*.scr"

echo.
echo Removing shortcuts...
del "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
del "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
del "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
del "%systendrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\Xfire.lnk"
del "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Acrobat.com.lnk"
del "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Adobe Reader 9.lnk"
del "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\MSN.lnk"
del "C:\Documents and Settings\Zlatko\Desktop\Adobe Reader 9.lnk"
del "C:\Documents and Settings\Zlatko\Desktop\Acrobat.com.lnk"
del "C:\Documents and Settings\Zlatko\Desktop\eBay.lnk"
del "C:\Documents and Settings\Zlatko\Start Menu\Programs\Startup\Xfire.lnk"
del "C:\Documents and Settings\Zlatko\Start Menu\Programs\Startup\Skype.lnk"

echo.
echo Deleting temporary instalation files...
RD /S /Q %systemdrive%\install

pause
exit

Can i add a pause till one program finish instalation and how?

Edited by Yzöwl
code tags added for readability
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...