Jump to content

Recommended Posts

Posted


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 %0

Hi, 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 !!


Posted

The use of non-required double-quotes around your paths and switches is the problem.

Try something like this:

@echo off
setlocal 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 :eof
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 %0

Posted

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!

  • 4 weeks later...
Posted

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öwl

Excuse 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 off
setlocal 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 :eof
start /wait %cdrom%\LOGS\UltraISO\UltraISO.exe /S

???
???

del %0

Thanks a lot in advance.

  • 5 months later...
  • 2 weeks later...
Posted

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

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...