August 22, 200916 yr I've some programs that will be installed at the end of the windows installation.I've all my programs and the setupcomplete.cmd in the directory sources\$OEM$\$$\SETUP\SCRIPTS.My setupcomplete.cmd looks like this:ECHO Installing Total Commander v7.04start /wait %systemroot%\setup\scripts\TotalCommanderv704a\INSTALL.EXEECHO.ECHO Installing Nero 9.0.9.4bstart /wait %systemroot%\setup\scripts\nero\Nero_9.0.9.4b.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-ECHO.ECHO Installing 7-Zip 4.57 betastart /wait %systemroot%\setup\scripts\7zip\7z457.exe /SECHO.ECHO Installing Winamp554_Prostart /wait %systemroot%\setup\scripts\Winamp554_Pro\winamp554_pro_en-us.exe /Sdel /wait C:\PROGRA~1\Winamp\winamp.exedel /wait C:\PROGRA~1\Winamp\Plugins\in_wm.dllcopy /wait %systemroot%\setup\scripts\Winamp554_Pro\winamp.exe C:\PROGRA~1\Winampcopy /wait %systemroot%\setup\scripts\Winamp554_Pro\Plugins\in_wm.dll C:\PROGRA~1\Winamp\PluginsECHO.ECHO Installing Winrar3start /wait %systemroot%\setup\scripts\WinRAR2009\Install_silent.exeECHO.ECHO Installing WinZipstart /wait %systemroot%\setup\scripts\WinZip\WINZIP120.MSI /passive /norestartECHO.ECHO Installing StatBarstart /wait %systemroot%\setup\scripts\statbar\GlobalStatBar.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-ECHO.ECHO Installing Office2007Echo Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\office12\setup.exe /config CONFIGnl.XMLECHO.ECHO Installing XnView-winEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\xnview\XnView-win.exe /silentECHO.ECHO Installing npp.5.1.3.InstallerEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\notepad2\npp.5.4.5.Installer.exe /SECHO.ECHO Installing UltraIsoEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\ultraiso\uiso86pes.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-ECHO.ECHO Installing WinIsoEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\WinISO53\Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-ECHO.ECHO Installing LightScribe UpdateEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\LightScribe_V1.18.6.1_silent.exeECHO.ECHO Installing LightScribe Template LabelerEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\LightScribeTemplateLabeler_1.18.5.1_silent.exeECHO.ECHO Installing Remote Administrator Control ClientEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\RemoteAdministratorControl\RACClient331.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-ECHO.ECHO Installing Remote Administrator Control ServerEcho Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\RemoteAdministratorControl\RACServer331.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-ECHO.ECHO Installing DVD Decryptor 3.5.4.0Echo Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\SetupDVDDecrypter_3.5.4.0.exe /S /NCRCECHO.ECHO Installing Quick Time 7Echo Deze procedure kan enige minuten duren......start /wait %systemroot%\setup\scripts\QuickTimeInstaller\QuickTime.msi /qbBut if i want to put a new program to it , then this script dos'nt work anymore.What could be the problem? or is there a limit of rows?Can anybody help me? Edited August 22, 200916 yr by yanki
August 22, 200916 yr do any commands work after quicktime (can you xcopy something?)If that works, then maybe its just hanging the installer service... Try:Net Stop Msiserverafter quicktime and then try another installation.
August 23, 200916 yr Author do any commands work after quicktime (can you xcopy something?)If that works, then maybe its just hanging the installer service... Try:Net Stop Msiserverafter quicktime and then try another installation.Well if i let Quicktime away and put another program to it then everything stil works but if i add again another program then it fails again.It looks like i'm stuck with a limit, could this be possible?Can anybody tell me why i get this error ?C:WindowsSetupSCRIPTS>copy /wait C:Windowssetupscriptsimgburnerdutch_netherlands.lng C:PROGRA~1ImgBurnLanguagesDe syntaxis van de opdracht is onjuist. Edited August 23, 200916 yr by Yzöwl
August 23, 200916 yr "/wait" is not a valid switch for the copy command.You also have is elsewhere in your script as well as with the del command.
August 24, 200916 yr Author "/wait" is not a valid switch for the copy command.You also have is elsewhere in your script as well as with the del command.What could be valid copy command in my case?
August 24, 200916 yr just 'copy' no /waitsame for 'del'the wait switch is invalid for all 4 instances in your .cmdwinamp and friends are probably not making it onto your system, though not the culprit for your original issue Edited August 24, 200916 yr by iamtheky
Create an account or sign in to comment