mlukac89 Posted March 4, 2010 Share Posted March 4, 2010 (edited) HelloMy all programs opens in the same time during instalation and saying "another instalation in progres"There is my start.cmd@echo offtitle Instalacija programaecho.echo Instaliram NET framework 2.0echo Pricekajte...start /wait %systemdrive%\install\NETframework2.0.exe /q:a /c:"install /q"echo.echo Instaliram Windows Installer 3.1echo Pricekajte...start /wait %systemdrive%\install\WindowsInstaller3.1.exe /silent /norebootecho.echo Instaliram Visual studio runtime 6.0 sp5echo Pricekajte...start /wait %systemdrive%\install\Visualstudioruntime6.0sp5.exe /q:a /c:"install /q"echo.echo Instaliram IZArcecho Pricekajte...start /wait %systemdrive%\install\IZArc4.1.exe /Silentecho.echo Instaliram CCleanerecho Pricekajte...start /wait %systemdrive%\install\CCleaner2.28.exe /Secho.echo Instaliram Process Masterecho Pricekajte...start /wait %systemdrive%\install\ProcessMaster.exe /silentecho.echo Instaliram Utorrentecho Pricekajte...start /wait %systemdrive%\install\utorrent2.0.exe /Secho.echo Instaliram WinRarecho Pricekajte...start /wait %systemdrive%\install\wrar38b5.exe /secho.echo Instaliram Xfireecho Pricekajte...start /wait %systemdrive%\install\Xfire.exe /Sping -n 30 127.0.0.1 >NULecho.echo Instaliram 7-zipecho Pricekajte...start /wait %systemdrive%\install\7zip465.exe /Secho.echo Instaliram Adobe Reader 9echo Pricekajte...start /wait %systemdrive%\install\AdobeReader9.exe /sAll -nos_neecho.echo Instaliram Klite Mega Codec Packecho Pricekajte...start /wait %systemdrive%\install\KLiteCodecPackMega561.exe /SILENT /SP-echo.echo Instaliram Unlockerecho Pricekajte...start /wait %systemdrive%\install\unlocker1.8.exe /Secho.echo Instaliram Thunderbirdecho Pricekajte...start /wait %systemdrive%\install\Thunderbird3.0.exe -ms -iraecho.echo Instaliram Skypeecho Pricekajte...start /wait %systemdrive%\install\Skype.exe /VERYSILENT /SP- /NORESTARTecho.echo Instaliram Operuecho Pricekajte...start /wait %systemdrive%\install\Opera10.exe /s /v/qbecho.echo Instaliram Mozillu firefoxecho Pricekajte...start /wait %systemdrive%\install\mozilla\Firefox3.6.exe -ms -iraecho.echo Instaliram BSplayerecho Pricekajte...start /wait %systemdrive%\install\bsplayer\bsplayerpro2.1.exe /Secho.echo Registriram BSplayerecho Kopiram datoteke...copy "C:\install\bsplayer\key.reg" "C:\Program Files\Webteh\BSplayerPro" /yecho.echo Instaliram DVD shrinkecho Pricekajte...start /wait %systemdrive%\install\DVDshrink.exe /verysilentecho.echo Instaliram Subtitle Workshopecho Pricekajte...start /wait %systemdrive%\install\SubtitleWorkshop4.exe /Secho.echo Instaliram Open Office 2.0echo Pricekajte...start /wait %systemdrive%\install\OpenOffice2.0\openofficeorg20.msi /qnecho.echo Instaliram Neruecho Pricekajte...start /wait %systemdrive%\install\nero6\nero6.exe /Secho.echo Registriram Neruecho Pricekajte...REGEDIT /S %systemdrive%\install\nero6\registracija.regecho.echo Instaliram Winampecho Pricekajte...start /wait %systemdrive%\install\winamp5571_full.exe /S /install=SFQDRAecho.echo Uklanjam Winamp Remoteecho Pricekajte..."C:\Progra~1\Winamp~1\uninstall.exe" /S /install=SFQDRAecho.echo Uklanjam Winamp Toolbarecho Pricekajte..."C:\Progra~1\Winamp~2\\uninstall.exe" /S /install=SFQDRAecho.echo Uklanjam Winamp Musicecho Pricekajte..."C:\Progra~1\Winamp\eMusic\Uninst-eMusic-promotion.exe" /S /install=SFQDRAecho.echo Instaliram Hijack Thisecho Pricekajte...start /wait %systemdrive%\install\HijackThis.msi /qbecho.echo Instaliram Spybot Search&Destroyecho Pricekajte...start /wait %systemdrive%\install\spybotsd162.exe /VERYSILENT /NORESTART /SP-echo.echo Instaliram Avastecho Pricekajte...start /wait %systemdrive%\install\Avast4home.exe /silentecho.echo Instalacija programa zavrsenaecho.echo Importing registryREGEDIT /S %systemdrive%\install\HKCU.regREGEDIT /S %systemdrive%\install\HKLM.regecho.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%\installpauseexitCan i add a pause till one program finish instalation and how? Edited March 4, 2010 by Yzöwl code tags added for readability Link to comment Share on other sites More sharing options...
jaclaz Posted March 4, 2010 Share Posted March 4, 2010 You should ALWAYS use start /wait (not only on some items).You also may want to add a title (a pair of double quotes will do), just in case:http://ss64.com/nt/start.htmljaclaz Link to comment Share on other sites More sharing options...
mlukac89 Posted March 4, 2010 Author Share Posted March 4, 2010 Thx man Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now