Jump to content

How to do a 2 cd install


Recommended Posts

Hey guys, I'm also new to the scene, but I always wanted to create an unattended installation. I had NO IDEA that there were others in my shoes :P . I should've done a search on this stuff way way back :P .

Neway, this topic does fall under "Unattended Windows", so if you do a 2 CD install, then how does it become "unattended"? You have to change the CD at some point, right? The only PURE way to make an unattended Windows install is to use 1 CD or 1 DVD. SOOOO, why not just make a second CD that will run after windows installation that will install the programs and applications? So windows and it's hotfixes and directx, framework, etc. on one CD, then on the second CD include all the applications and make a batch file to run all those applications via an "AUTORUN" file (.inf)? You know, the file that autoplays a CD? I could be wrong, since I'm new, but wouldn't this be better?

Link to comment
Share on other sites


I believe the point of an unattended 2cd install is that the batch/runonceex waits for 30 seconds or 1 minute for the cd, and if you didn't put the cd in, it will continue. Basically, this is what I have to install Office 2003 and PSP8 from their own cd:

SET P=%CD%\Programs
FOR %%D IN (A B 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 %%D:\WIN51IP SET CDROM=%%D

CDR OPEN %CDROM%
ECHO [%TIME:~0,-3%] Please insert the Microsoft Office 2003 disc in drive %CDROM%:
SLEEP 30
CDR CLOSE %CDROM%

IF EXIST %CDROM%:\PRO11.msi (
  ECHO [%TIME:~0,-3%] Installing Microsoft Office 2003...
  START /WAIT %CDROM%:\Setup.exe TRANSFORMS=%P%\Office.mst /QN
)

ECHO.

CDR OPEN %CDROM%
ECHO [%TIME:~0,-3%] Please insert the Jasc Paint Shop Pro 8 disc in drive %CDROM%:
SLEEP 30
CDR CLOSE %CDROM%

IF EXIST "%CDROM%:\PSP\Jasc Paint Shop Pro 8.msi" (
  ECHO [%TIME:~0,-3%] Installing Jasc Paint Shop Pro 8...
  START /WAIT /D "%CDROM%:\PSP" "Jasc Paint Shop Pro 8.msi" /QN
)

cdr.exe and sleep.exe are 3rd party programs. %P% represents the programs install directory on the systemdrive (C:\Install\Programs).

Link to comment
Share on other sites

  • 2 weeks later...

Anybody know how to put a multi-cd program all on one dvd and install it? I want the structure such as...

G:\CD1\

G:\CD2\

G:\CD3\

Then when the installer program asks for disk 2, it can see the G:\CD2\ directory as the second disk.

Thanks.

Link to comment
Share on other sites

  • 1 month later...

Hi all i succeed to made my unattended in 2 cd but

First of all i want to thank evrybody in this site because i learn many things here.

You ned to put this in your start.cmd to change cd and continue installation

ECHO.

ECHO Changing the cd

ECHO Please wait...

PING -n 61 127.0.0.1>nul

start /wait wscript %CDROM%\$OEM$\cd_prompt.vbs

open your notepad and past this code

MsgBox "Please insert CD2 Office2003. When the drive is done, press OK", vbOKOnly, "Please, Replace CD"

save it as cd_prompt.vbs and put it in $OEM$ folder

make a copy of distribution folder ($oem$) in the second cd and creat folder called software in bouth cd.

my start.cmd

@echo off

IF EXIST D:\CD.txt set CDROM=D:

IF EXIST E:\CD.txt set CDROM=E:

IF EXIST F:\CD.txt set CDROM=F:

IF EXIST G:\CD.txt set CDROM=G:

IF EXIST H:\CD.txt set CDROM=H:

IF EXIST I:\CD.txt set CDROM=I:

IF EXIST J:\CD.txt set CDROM=J:

TITLE Windows XP SP2- Unattended Installation

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO tweaks being implemented. The computer will restart automatically

ECHO once the whole process has finished!

ECHO.

ECHO Installing WinRAR 3.30-Plus

ECHO Please wait...

start /wait %CDROM%\Software\WinRAR\wrar330-Plus.exe /s

ECHO.

ECHO Installing Flashget 1.6

ECHO Please wait...

start /wait %CDROM%\Software\flashget\fgf160.exe /S

ECHO.

ECHO Registering Flashget 1.6...

REGEDIT /S %CDROM%\Software\flashget\register.reg

ECHO.

ECHO Registering Nero Burning ROM...

REGEDIT /S %CDROM%\Software\Nero\register.reg

ECHO.

ECHO Installing Nero Burning ROM v6.0.0.28 Ultra Edition

ECHO Please wait...

start /wait %CDROM%\Software\Nero\Nero60028.exe /silent /noreboot /no_ui /sn=1A23-1180-4038-4227-3743-8855 /write_sn

ECHO.

ECHO Changing the cd

ECHO Please wait...

PING -n 61 127.0.0.1>nul

start /wait wscript %CDROM%\$OEM$\cd_prompt.vbs

ECHO.

ECHO Installing Real Player One v10

ECHO Please wait...

start /wait %CDROM%\Software\RealPlayer\RealPlayer10GOLD.exe /s

ECHO.

ECHO Installing Sun Java VM 1.4.2

ECHO Please wait...

start /wait %CDROM%\Software\SunJava\j2re-1_4_2-windows-i586.exe /s /v/qn

ECHO.

ECHO Installing MSN Messenger 6.0.0137 Final

ECHO Please wait...

start /wait %CDROM%\Software\MSN\MsnMsgs.msi /QB

ECHO.

ECHO Installing Adobe Reader 6.0.1

ECHO Please wait...

start /wait %CDROM%\Software\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

ECHO.

ECHO Installing ACDSee 6.0.6 PowerPack

ECHO Please wait...

start /wait %CDROM%\Software\ACDsee\ACDSee606PowerPack.exe

ECHO.

ECHO Installing Office 2003 Professional without Frontpage

ECHO Please wait...

start /wait %CDROM%\Software\Office\setup.exe /QB

ECHO.

ECHO Installing Microsoft Office FrontPage 2003

ECHO Please wait...

start /wait %CDROM%\Software\Frontpage\setup.exe /QB

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %CDROM%\install\RegTweaks.reg

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.

ECHO Deleting Temp Installation Files...

RD /S /Q %systemdrive%\install

EXIT

my CDs

After the first logoin the installation of WinRAR , Flashget 1.6 and Nero Burning ROM will star then you will see

Changing the cd

Please wait...

at this point you must remove the cd and insert the second cd

and wait untill you see cd prompt ask you to press ok then the installation of the applications or software will resume.

you can change software as you like.

I tried my best english and i am sorry if it's not good

Folders4BouthCd.rar

CLS start.cmd

Link to comment
Share on other sites

  • 4 weeks later...

OK, folks, I appreciate this topic, but I am looking for a DOS batch file which allows me to eject the first bootable CD, and start copying more apps from the second CD. It would then start the XP install from the hard disk (everything is copied to the HD first).

In my current script, I insert a simple PAUSE...

ECHO Please insert the second CD

PAUSE

@xcopy g:\Install\APPS\*.* d:\Install\APPS\

I've tried moving all my code after the PAUSE into a separate batch file, and CALLing it. That didn't work either. It keeps saying "MIssing Batch FIle" and prompting me for the location of command.com. I even made the second CD bootable as well - no dice.

Where can I look, folks? As always, I appreciate it.

JP

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...