Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
yanki

SETUPCOMPLETE.CMD on dvd.

Recommended Posts

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.04
start /wait %systemroot%\setup\scripts\TotalCommanderv704a\INSTALL.EXE
ECHO.
ECHO Installing Nero 9.0.9.4b
start /wait %systemroot%\setup\scripts\nero\Nero_9.0.9.4b.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
ECHO.
ECHO Installing 7-Zip 4.57 beta
start /wait %systemroot%\setup\scripts\7zip\7z457.exe /S
ECHO.
ECHO Installing Winamp554_Pro
start /wait %systemroot%\setup\scripts\Winamp554_Pro\winamp554_pro_en-us.exe /S
del /wait C:\PROGRA~1\Winamp\winamp.exe
del /wait C:\PROGRA~1\Winamp\Plugins\in_wm.dll
copy /wait %systemroot%\setup\scripts\Winamp554_Pro\winamp.exe C:\PROGRA~1\Winamp
copy /wait %systemroot%\setup\scripts\Winamp554_Pro\Plugins\in_wm.dll C:\PROGRA~1\Winamp\Plugins
ECHO.
ECHO Installing Winrar3
start /wait %systemroot%\setup\scripts\WinRAR2009\Install_silent.exe
ECHO.
ECHO Installing WinZip
start /wait %systemroot%\setup\scripts\WinZip\WINZIP120.MSI /passive /norestart
ECHO.
ECHO Installing StatBar
start /wait %systemroot%\setup\scripts\statbar\GlobalStatBar.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
ECHO.
ECHO Installing Office2007
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\office12\setup.exe /config CONFIGnl.XML
ECHO.
ECHO Installing XnView-win
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\xnview\XnView-win.exe /silent
ECHO.
ECHO Installing npp.5.1.3.Installer
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\notepad2\npp.5.4.5.Installer.exe /S
ECHO.
ECHO Installing UltraIso
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\ultraiso\uiso86pes.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
ECHO.
ECHO Installing WinIso
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\WinISO53\Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
ECHO.
ECHO Installing LightScribe Update
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\LightScribe_V1.18.6.1_silent.exe
ECHO.
ECHO Installing LightScribe Template Labeler
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\LightScribeTemplateLabeler_1.18.5.1_silent.exe
ECHO.
ECHO Installing Remote Administrator Control Client
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\RemoteAdministratorControl\RACClient331.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
ECHO.
ECHO Installing Remote Administrator Control Server
Echo 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.0
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\SetupDVDDecrypter_3.5.4.0.exe /S /NCRC
ECHO.
ECHO Installing Quick Time 7
Echo Deze procedure kan enige minuten duren......
start /wait %systemroot%\setup\scripts\QuickTimeInstaller\QuickTime.msi /qb

But 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 by yanki

Share this post


Link to post
Share on other sites

do any commands work after quicktime (can you xcopy something?)

If that works, then maybe its just hanging the installer service... Try:

Net Stop Msiserver

after quicktime and then try another installation.

Share this post


Link to post
Share on other sites
do any commands work after quicktime (can you xcopy something?)

If that works, then maybe its just hanging the installer service... Try:

Net Stop Msiserver

after 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_net
herlands.lng C:PROGRA~1ImgBurnLanguages
De syntaxis van de opdracht is onjuist.

Edited by Yzöwl

Share this post


Link to post
Share on other sites
"/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?

Share this post


Link to post
Share on other sites

just 'copy' no /wait

same for 'del'

the wait switch is invalid for all 4 instances in your .cmd

winamp and friends are probably not making it onto your system, though not the culprit for your original issue :no:

Edited by iamtheky

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×