March 22, 201115 yr for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:Start /wait "%cdrom%\LOGS\ADOBE\adobe.exe /sAll"Start /wait "%cdrom%\LOGS\QT\AppleApplicationSupport.msi /qn"Start /wait "%cdrom%\LOGS\QT\AppleSoftwareUpdate.msi /qn"Start /wait "%cdrom%\LOGS\QT\QuickTime.msi /qn"Start /wait "%cdrom%\LOGS\SATSUKI\satsuki.exe /S"Start /wait "%cdrom%\LOGS\VLC\vlc.exe /S"Start /wait "%cdrom%\LOGS\SUPERCOPIER\SUPERCOPIER2.exe /S"Start /wait "%cdrom%\LOGS\WINRAR\WINRAR.exe /s"Start /wait "%cdrom%\LOGS\SKYPE\skype.exe"Start /wait "%cdrom%\LOGS\FLASH\flashi.exe -install"Start /wait "%cdrom%\LOGS\FLASH\flashf.exe -install"Start /wait "%cdrom%\LOGS\NERO\nero.exe /SILENT /NORESTART /SERIAL="****-****-****-****-****-****-****" /USER="ALPHA" /COMPANY="ALPHA" /TASKS="desktopicon,imagefile_assoc" /TYPE="Full""Start /wait "%cdrom%\LOGS\AVIRA10\avira.exe -y"del %0Hi, I try an installation with windows 7 SP1 ans setupcomplete.cmd but noithing happen, when windows calculate VGA performance in first boot I have a cmd windows but nothing installed, I must close this windows after some hours and reboot to continue installation.any erroir in my file ??there was any other method to make silent install from DVD ??thanks !!
March 22, 201115 yr The use of non-required double-quotes around your paths and switches is the problem.Try something like this:@echo offsetlocal enableextensions disabledelayedexpansion(set CDROM=)for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist %%i:\sources\install.wim set "CDROM=%%i:")if not defined CDROM goto :eofstart /wait %cdrom%\LOGS\ADOBE\adobe.exe /sAllstart /wait %cdrom%\LOGS\QT\AppleApplicationSupport.msi /qnstart /wait %cdrom%\LOGS\QT\AppleSoftwareUpdate.msi /qnstart /wait %cdrom%\LOGS\QT\QuickTime.msi /qnstart /wait %cdrom%\LOGS\SATSUKI\satsuki.exe /Sstart /wait %cdrom%\LOGS\VLC\vlc.exe /Sstart /wait %cdrom%\LOGS\SUPERCOPIER\SUPERCOPIER2.exe /Sstart /wait %cdrom%\LOGS\WINRAR\WINRAR.exe /sstart /wait %cdrom%\LOGS\SKYPE\skype.exestart /wait %cdrom%\LOGS\FLASH\flashi.exe -installstart /wait %cdrom%\LOGS\FLASH\flashf.exe -installstart "" /wait %cdrom%\LOGS\NERO\nero.exe /SILENT /NORESTART^ /SERIAL="****-****-****-****-****-****-****" /USER="ALPHA" /COMPANY="ALPHA"^ /TASKS="desktopicon,imagefile_assoc" /TYPE="Full"start /wait %cdrom%\LOGS\AVIRA10\avira.exe -ydel %0
March 22, 201115 yr I'm not at all interested in any of the installed software you are using or their switches, I have simply re-written your script to correct its syntax problems.Just replace your file with mine, try it, then report back!
April 14, 201115 yr I'm not at all interested in any of the installed software you are using or their switches, I have simply re-written your script to correct its syntax problems.Just replace your file with mine, try it, then report back!@YzöwlExcuse me for my curiosity. I know you're not interested in this kind of thing. But just a question with you.What can I do if I want to create a setupcomplete.cmd to install UltraISO.exe and UltraISO.reg if you do not mind.example:@echo offsetlocal enableextensions disabledelayedexpansion(set CDROM=)for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (if exist %%i:\sources\install.wim set "CDROM=%%i:")if not defined CDROM goto :eofstart /wait %cdrom%\LOGS\UltraISO\UltraISO.exe /S??????del %0Thanks a lot in advance.
October 10, 201114 yr I'm not at all interested in any of the installed software you are using or their switches, I have simply re-written your script to correct its syntax problems.Just replace your file with mine, try it, then report back!any feedback? i met similar question, the commands in setupcomplete.cmd did not run. even a simple command mkdir c:\11
Create an account or sign in to comment