Jump to content

Recommended Posts

Posted

I am working on a 3 CD install of Windows XP it works fine on 1 DVD but when I break it apart and use the CD batch it hit's the change CD for disk 2 Exits the Batch and continues on the install. Here is my code:

cmdow @ /MIN
@ECHO OFF

ECHO.
ECHO Finding CD/DVD Drive
IF EXIST C:\WIN51IP.SP1 set CDROM=C:
IF EXIST D:\WIN51IP.SP1 set CDROM=D:
IF EXIST E:\WIN51IP.SP1 set CDROM=E:
IF EXIST F:\WIN51IP.SP1 set CDROM=F:
IF EXIST G:\WIN51IP.SP1 set CDROM=G:
IF EXIST H:\WIN51IP.SP1 set CDROM=H:
IF EXIST I:\WIN51IP.SP1 set CDROM=I:
IF EXIST J:\WIN51IP.SP1 set CDROM=J:
IF EXIST K:\WIN51IP.SP1 set CDROM=K:
IF EXIST L:\WIN51IP.SP1 set CDROM=L:
IF EXIST M:\WIN51IP.SP1 set CDROM=M:
IF EXIST N:\WIN51IP.SP1 set CDROM=N:
IF EXIST O:\WIN51IP.SP1 set CDROM=O:
IF EXIST P:\WIN51IP.SP1 set CDROM=P:
IF EXIST Q:\WIN51IP.SP1 set CDROM=Q:
IF EXIST R:\WIN51IP.SP1 set CDROM=R:
IF EXIST S:\WIN51IP.SP1 set CDROM=S:
IF EXIST T:\WIN51IP.SP1 set CDROM=T:
IF EXIST U:\WIN51IP.SP1 set CDROM=U:
IF EXIST V:\WIN51IP.SP1 set CDROM=V:
IF EXIST W:\WIN51IP.SP1 set CDROM=W:
IF EXIST X:\WIN51IP.SP1 set CDROM=X:
IF EXIST Y:\WIN51IP.SP1 set CDROM=Y:
IF EXIST Z:\WIN51IP.SP1 set CDROM=Z:
ECHO.

ECHO.
ECHO Changing CD's
start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\Change_CD2.vbs
start /wait %systemdrive%\install\Tools\CDR.exe close ALL

ECHO.
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\" "%systemdrive%\Install\" /E /Y
ECHO.

start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\Change_CD3.vbs
start /wait %systemdrive%\install\Tools\CDR.exe close ALL
ECHO.

ECHO.
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\" "%systemdrive%\Install\" /E /Y
ECHO.

start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\Change_CD1.vbs
start /wait %systemdrive%\install\Tools\CDR.exe close ALL
ECHO.

START %systemdrive%\install\Tools\InstallMSG.vbs
CLS
TITLE Windows XP SP1A - Unattended Installation

ECHO.
Echo Updating your computer with security patches. Please Wait.
ECHO Installing All Type 1 Hotfixes...............Please Wait
for %%i in (%systemdrive%\install\Hotfixes\1\*.exe) do start /wait %%i /Q /U /N /Z
ECHO.

ECHO.
ECHO Installing All Type 2 Cumulative patches.....Please Wait
for %%i in (%systemdrive%\install\Hotfixes\2\*.exe) do start /wait %%i /Q:A /R:N
ECHO.

ECHO.
ECHO Installing Other Hotfixes.....Please Wait
start /wait %systemdrive%\install\Hotfixes\JournalSetup.exe /Q:a /C:"MICROS~1.MSI /qn"
start /wait %systemdrive%\install\Hotfixes\HMTCDWizard_enu.exe /Q
start /wait %systemdrive%\install\Hotfixes\ENU_Q832483_MDAC_X86.exe /C:"dahotfix.exe /q /n" /q
start /wait %systemdrive%\install\Hotfixes\WinMessenger5.exe /Q
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-ENU.exe /Q /U /N /Z
ECHO.

start /wait %systemdrive%\install\qchain.exe

ECHO ---APP---

ECHO Installing Adobe Reader 6
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p"-s /v\"/qn\""
ECHO.

ECHO.
ECHO Installing Nero 6.3.1.15
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Nero\nero63115.exe /silent /noreboot /no_ui /sn=1A23-0040-3030-1204-5001-2880 /write_sn/silent /noreboot /no_ui /sn=1A23-0040-3030-1204-5001-2880 /write_sn
ECHO.

ECHO.
ECHO Installing Spybot Search and Destroy
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Spybot\spybot.exe /VERYSILENT /SP-
ECHO.

ECHO.
ECHO Installing Symantec Antivirus Corporate 8.0
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Symantec\Symantec.exe
ECHO.

ECHO.
Echo Installing Microsoft Power Toys
start /wait %systemdrive%\install\Applications\PowerToys\TweakUI.msi /qb
for %%i in (%systemdrive%\install\Applications\PowerToys\*.exe) do start /wait %%i /s /v/qn
ECHO.

ECHO.
ECHO Installing .NET Framework v1.1
ECHO Please wait...
start /wait %systemdrive%\install\Applications\NetFramework\netfx.msi /qb
ECHO.

ECHO.
ECHO Installing DirectX 9.0b
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DirectX9b\DX9NTopk.exe
ECHO.

ECHO.
ECHO Installing Sun Java VM 1.4.2.04
ECHO Please wait...
start /wait %systemdrive%\Install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn
ECHO.

ECHO.
ECHO Installing WMP9 and Movie Maker 2
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WMP9_MM2\WMP9_MM2_ENU.exe
ECHO.

ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait...
start %systemdrive%\install\Applications\Office2003\Pro11.msi TRANSFORMS=Unattended.MST /qb
ECHO.

ECHO.
ECHO Installing Seti@Home
ECHO Please wait...
start /wait %systemdrive%\install\Applications\SETIremote\sr.bat install %COMPUTERNAME%
ECHO.

ECHO.
ECHO Installing Putty
ECHO Please wait...
copy "%systemdrive%\install\Applications\Putty\Putty.exe" "%AllUsersProfile%\Start Menu\Programs\"
ECHO.

ECHO.
ECHO Updating Symantec Antivirus Virus Definitions (June 07, 2004)
COPY "%systemdrive%\install\Applications\Symantec\Update\*.*" "%PROGRAMFILES%\Common Files\Symantec Shared\VirusDefs\Incoming\"
ECHO.

ECHO Copying I386 Folder
XCOPY "%CDROM%\i386" "%systemdrive%\i386" /E /Y
ATTRIB +H "%systemdrive%\i386"
ECHO.

ECHO ---Reg---

ECHO.
ECHO Applying Registry Entries for PC configuration.....Please Wait
for %%i in (%systemdrive%\install\Registry\*.reg) do start /wait regedit.exe /S %%i
ECHO.

ECHO ---Users---

ECHO.
ECHO Setting Up Remote Users
net localgroup "Remote Desktop Users" Administrator /add
ECHO.

ECHO.
ECHO Setting Guest Password
net user Guest qwertyuiop*
ECHO.

ECHO ---Clean Up---

ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install
DEL %systemdrive%\i386\winnt.sif
ECHO.

ECHO.
ECHO Deleting Shortcuts
DEL "%userProfile%\Desktop\Spybot - Search & Destroy.lnk"
DEL "%userProfile%\Start Menu\Programs\Remote Assistance.lnk"
DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Nero StartSmart.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"
ECHO.
EXIT

ANY help would be GREATLY appreciated.

Thank You


Posted

try removing the cmdow command at the begging so you actually see the batch. Then put a pause after the change CD2 and CD3 prompts line in the batch. Perhaps it's giving you an error and you're not seeing it.

Posted

Ok below I figured out where it breaks. It is when you click Yes on the Change CD 2 prompt it kills the batch. No error displayed or anything.

Any Idea's?

Install.CMD

cmdow @ /MIN
@ECHO OFF

ECHO.
ECHO Finding CD/DVD Drive
IF EXIST C:\WIN51IP.SP1 set CDROM=C:
IF EXIST D:\WIN51IP.SP1 set CDROM=D:
IF EXIST E:\WIN51IP.SP1 set CDROM=E:
IF EXIST F:\WIN51IP.SP1 set CDROM=F:
IF EXIST G:\WIN51IP.SP1 set CDROM=G:
IF EXIST H:\WIN51IP.SP1 set CDROM=H:
IF EXIST I:\WIN51IP.SP1 set CDROM=I:
IF EXIST J:\WIN51IP.SP1 set CDROM=J:
IF EXIST K:\WIN51IP.SP1 set CDROM=K:
IF EXIST L:\WIN51IP.SP1 set CDROM=L:
IF EXIST M:\WIN51IP.SP1 set CDROM=M:
IF EXIST N:\WIN51IP.SP1 set CDROM=N:
IF EXIST O:\WIN51IP.SP1 set CDROM=O:
IF EXIST P:\WIN51IP.SP1 set CDROM=P:
IF EXIST Q:\WIN51IP.SP1 set CDROM=Q:
IF EXIST R:\WIN51IP.SP1 set CDROM=R:
IF EXIST S:\WIN51IP.SP1 set CDROM=S:
IF EXIST T:\WIN51IP.SP1 set CDROM=T:
IF EXIST U:\WIN51IP.SP1 set CDROM=U:
IF EXIST V:\WIN51IP.SP1 set CDROM=V:
IF EXIST W:\WIN51IP.SP1 set CDROM=W:
IF EXIST X:\WIN51IP.SP1 set CDROM=X:
IF EXIST Y:\WIN51IP.SP1 set CDROM=Y:
IF EXIST Z:\WIN51IP.SP1 set CDROM=Z:
ECHO.

ECHO.
ECHO Changing CD's
start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\Change_CD2.vbs
start /wait %systemdrive%\install\Tools\CDR.exe close ALL

*****************Here is where it BREAKS*******************

ECHO.
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\" "%systemdrive%\Install\" /E /Y
ECHO.

start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\Change_CD3.vbs
start /wait %systemdrive%\install\Tools\CDR.exe close ALL
ECHO.

ECHO.
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\" "%systemdrive%\Install\" /E /Y
ECHO.

start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\Change_CD1.vbs
start /wait %systemdrive%\install\Tools\CDR.exe close ALL
ECHO.

START %systemdrive%\install\Tools\InstallMSG.vbs
CLS
TITLE Windows XP SP1A - Unattended Installation

ECHO.
Echo Updating your computer with security patches. Please Wait.
ECHO Installing All Type 1 Hotfixes...............Please Wait
for %%i in (%systemdrive%\install\Hotfixes\1\*.exe) do start /wait %%i /Q /U /N /Z
ECHO.

ECHO.
ECHO Installing All Type 2 Cumulative patches.....Please Wait
for %%i in (%systemdrive%\install\Hotfixes\2\*.exe) do start /wait %%i /Q:A /R:N
ECHO.

ECHO.
ECHO Installing Other Hotfixes.....Please Wait
start /wait %systemdrive%\install\Hotfixes\JournalSetup.exe /Q:a /C:"MICROS~1.MSI /qn"
start /wait %systemdrive%\install\Hotfixes\HMTCDWizard_enu.exe /Q
start /wait %systemdrive%\install\Hotfixes\ENU_Q832483_MDAC_X86.exe /C:"dahotfix.exe /q /n" /q
start /wait %systemdrive%\install\Hotfixes\WinMessenger5.exe /Q
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-ENU.exe /Q /U /N /Z
ECHO.

start /wait %systemdrive%\install\qchain.exe

ECHO ---APP---

ECHO Installing Adobe Reader 6
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p"-s /v\"/qn\""
ECHO.

ECHO.
ECHO Installing Nero 6.3.1.15
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Nero\nero63115.exe /silent /noreboot /no_ui /sn=1A23-0040-3030-1204-5001-2880 /write_sn/silent /noreboot /no_ui /sn=1A23-0040-3030-1204-5001-2880 /write_sn
ECHO.

ECHO.
ECHO Installing Spybot Search and Destroy
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Spybot\spybot.exe /VERYSILENT /SP-
ECHO.

ECHO.
ECHO Installing Symantec Antivirus Corporate 8.0
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Symantec\Symantec.exe
ECHO.

ECHO.
Echo Installing Microsoft Power Toys
start /wait %systemdrive%\install\Applications\PowerToys\TweakUI.msi /qb
for %%i in (%systemdrive%\install\Applications\PowerToys\*.exe) do start /wait %%i /s /v/qn
ECHO.

ECHO.
ECHO Installing .NET Framework v1.1
ECHO Please wait...
start /wait %systemdrive%\install\Applications\NetFramework\netfx.msi /qb
ECHO.

ECHO.
ECHO Installing DirectX 9.0b
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DirectX9b\DX9NTopk.exe
ECHO.

ECHO.
ECHO Installing Sun Java VM 1.4.2.04
ECHO Please wait...
start /wait %systemdrive%\Install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn
ECHO.

ECHO.
ECHO Installing WMP9 and Movie Maker 2
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WMP9_MM2\WMP9_MM2_ENU.exe
ECHO.

ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait...
start %systemdrive%\install\Applications\Office2003\Pro11.msi TRANSFORMS=Unattended.MST /qb
ECHO.

ECHO.
ECHO Installing Seti@Home
ECHO Please wait...
start /wait %systemdrive%\install\Applications\SETIremote\sr.bat install %COMPUTERNAME%
ECHO.

ECHO.
ECHO Installing Putty
ECHO Please wait...
copy "%systemdrive%\install\Applications\Putty\Putty.exe" "%AllUsersProfile%\Start Menu\Programs\"
ECHO.

ECHO.
ECHO Updating Symantec Antivirus Virus Definitions (June 07, 2004)
COPY "%systemdrive%\install\Applications\Symantec\Update\*.*" "%PROGRAMFILES%\Common Files\Symantec Shared\VirusDefs\Incoming\"
ECHO.

ECHO Copying I386 Folder
XCOPY "%CDROM%\i386" "%systemdrive%\i386" /E /Y
ATTRIB +H "%systemdrive%\i386"
ECHO.

ECHO ---Reg---

ECHO.
ECHO Applying Registry Entries for PC configuration.....Please Wait
for %%i in (%systemdrive%\install\Registry\*.reg) do start /wait regedit.exe /S %%i
ECHO.

ECHO ---Users---

ECHO.
ECHO Setting Up Remote Users
net localgroup "Remote Desktop Users" Administrator /add
ECHO.

ECHO.
ECHO Setting Guest Password
net user Guest qwertyuiop*
ECHO.

ECHO ---Clean Up---

ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install
DEL %systemdrive%\i386\winnt.sif
ECHO.

ECHO.
ECHO Deleting Shortcuts
DEL "%userProfile%\Desktop\Spybot - Search & Destroy.lnk"
DEL "%userProfile%\Start Menu\Programs\Remote Assistance.lnk"
DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Nero StartSmart.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"
ECHO.
EXIT

Here is Change_CD2.vbs

ChangeCD

Sub ChangeCD
If NOT MsgBox("Please put CD / DVD 2 into the Drive."  & vbCRLF & vbCRLF & "Is CD / DVD in Drive?", vbQuestion + vbYesNo + vbDefaultButton, "Change CD / DVD") =6 Then
 ChangeCD
End If
End Sub

Posted (edited)

I suspect ... Miss Scarlet in the Parlor with a Candlestick.

I mean ... I suspect the VB Script, which you start without a wait: you will show a box, but the batch WILL continue as coded.

I would use a small "helper program" for the message box. There are a few out there (first found: http://www.filesland.com/companies/Berkele...ny/MsgBox.html). Haven't tested it, but it is something like that I would use.

EDIT:: THis may be the best ...

http://www.optimumx.com/download/#MessageBox

Edited by GreenMachine
Posted

Did the same thing at the same point. It dosn't even hit the pause after it.

It has me any other idea's?

I ran this:

ECHO Finding CD/DVD Drive
IF EXIST C:\WIN51IP.SP1 set CDROM=C:
IF EXIST D:\WIN51IP.SP1 set CDROM=D:
IF EXIST E:\WIN51IP.SP1 set CDROM=E:
IF EXIST F:\WIN51IP.SP1 set CDROM=F:
IF EXIST G:\WIN51IP.SP1 set CDROM=G:
IF EXIST H:\WIN51IP.SP1 set CDROM=H:
IF EXIST I:\WIN51IP.SP1 set CDROM=I:
IF EXIST J:\WIN51IP.SP1 set CDROM=J:
IF EXIST K:\WIN51IP.SP1 set CDROM=K:
IF EXIST L:\WIN51IP.SP1 set CDROM=L:
IF EXIST M:\WIN51IP.SP1 set CDROM=M:
IF EXIST N:\WIN51IP.SP1 set CDROM=N:
IF EXIST O:\WIN51IP.SP1 set CDROM=O:
IF EXIST P:\WIN51IP.SP1 set CDROM=P:
IF EXIST Q:\WIN51IP.SP1 set CDROM=Q:
IF EXIST R:\WIN51IP.SP1 set CDROM=R:
IF EXIST S:\WIN51IP.SP1 set CDROM=S:
IF EXIST T:\WIN51IP.SP1 set CDROM=T:
IF EXIST U:\WIN51IP.SP1 set CDROM=U:
IF EXIST V:\WIN51IP.SP1 set CDROM=V:
IF EXIST W:\WIN51IP.SP1 set CDROM=W:
IF EXIST X:\WIN51IP.SP1 set CDROM=X:
IF EXIST Y:\WIN51IP.SP1 set CDROM=Y:
IF EXIST Z:\WIN51IP.SP1 set CDROM=Z:
ECHO.

ECHO.
ECHO Changing CD's (2)
ECHO start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\MessageBox.exe /C:Change CD / DVD /M:Please put CD / DVD 2 into the Drive. /T:4384
ECHO start /wait %systemdrive%\install\Tools\CDR.exe close ALL

Pause

ECHO.
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\" "%systemdrive%\Install\" /E /Y
ECHO.

ECHO.
ECHO Changing CD's (3)
ECHO start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\MessageBox.exe /C:Change CD / DVD /M:Please put CD / DVD 3 into the Drive. /T:4384
ECHO start /wait %systemdrive%\install\Tools\CDR.exe close ALL
ECHO.

ECHO.
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\" "%systemdrive%\Install\" /E /Y
ECHO.

ECHO.
ECHO Changing CD's (1)
ECHO start /wait %systemdrive%\install\Tools\CDR.exe open ALL
start /wait %systemdrive%\install\Tools\MessageBox.exe /C:Change CD / DVD /M:Please put CD / DVD 1 into the Drive. /T:4384
ECHO start /wait %systemdrive%\install\Tools\CDR.exe close ALL
ECHO.

Pause

START %systemdrive%\install\Tools\MessageBox.exe /C:Please Wait ... /M:Installing Applications will take about 30 to 60  minutes. \n Count Down will still show 12 Minutes during install. \n \t        Please Wait .../T:4160
CLS
TITLE Windows XP SP1A - Unattended Installation

<INSTALL Batch ETC.....>

Posted

Sorry 'bout that ... I did say I hadn't tested it ...

You code is simple: Copy files, switch CD, copy more, switch again, copy, sitch, install. What I don't like is the passed parameters for MessageBox: you have the slash in the parameteres, and you also should have quotes around any text with a white space. And why us there an ECHO before the CDR Eject?

Try using this code for the first CD. I know the text is not as you like ... but try AS IS, and if it works THEN change the text, using quotes where needed.

ECHO.
ECHO Change CD
START "Open tray" /WAIT %SYSTEMDRIVE%\INSTALL\TOOLS\CDR.EXE OPEN ALL
START "Message Box" /WAIT %SYSTEMDRIVE%\INSTALL\TOOLS\MESSAGEBOX.EXE /C:SwitchCD /M:SwitchCD /T:4384
START "Close tray" /WAIT %SYSTEMDRIVE%\INSTALL\TOOLS\CDR.EXE CLOSE ALL
PAUSE
ECHO Copying Install Files ....... Please Wait
XCOPY "%CDROM%\Install\*.*" "%SYSTEMDRIVE%\Install\" /E /Y

Posted

Looks like you'll need the heavy artillary ... Try this code, and then look at C:\GM.LOG after setup fo find where it craps out.

ECHO.
ECHO Step 1 >> %SYSTEMDRIVE%\GM.LOG
START "Open tray" /WAIT %SYSTEMDRIVE%\INSTALL\TOOLS\CDR.EXE OPEN ALL
ECHO Step 2 >> %SYSTEMDRIVE%\GM.LOG
START "Message Box" /WAIT %SYSTEMDRIVE%\INSTALL\TOOLS\MESSAGEBOX.EXE /C:SwitchCD /M:SwitchCD /T:4384
ECHO Step 3 >> %SYSTEMDRIVE%\GM.LOG
START "Close tray" /WAIT %SYSTEMDRIVE%\INSTALL\TOOLS\CDR.EXE CLOSE ALL
ECHO Step 4 >> %SYSTEMDRIVE%\GM.LOG
ECHO Copying Install Files ....... Please Wait
ECHO Step 5 >> %SYSTEMDRIVE%\GM.LOG
XCOPY "%CDROM%\Install\*.*" "%SYSTEMDRIVE%\Install\" /E /Y
ECHO Step 6 >> %SYSTEMDRIVE%\GM.LOG

Posted

If there is a smple way to debug ... I haven't learned it yet. It seems that CDR CLOSE is causing the problems. Remove that command, and close the CD manually, and this will confirm if it is the problem. It could be a simple timing issue: you close the CD programatically, and then start copying files. The CD has not yet been recognized by the system, and errors out.

I would just slowly step through the whole thing, putting a lot of PAUSE statements in, and looking around after each. Trial and error ...

Posted

OK there is no open / close it is just the prompt and then xcopy it stops running after the promp close; nothign is run after that. My DVD install.bat is the exact same but not cd prompt and xcopy and that works AOK.

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