MachManX Posted September 28, 2004 Share Posted September 28, 2004 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 . I should've done a search on this stuff way way back . 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 More sharing options...
Tsunami Posted September 28, 2004 Share Posted September 28, 2004 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%\ProgramsFOR %%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=%%DCDR OPEN %CDROM%ECHO [%TIME:~0,-3%] Please insert the Microsoft Office 2003 disc in drive %CDROM%:SLEEP 30CDR 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 30CDR 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 More sharing options...
dcrowder32 Posted October 11, 2004 Share Posted October 11, 2004 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 More sharing options...
abumohamed Posted November 21, 2004 Share Posted November 21, 2004 Hi all i succeed to made my unattended in 2 cd butFirst 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 installationECHO.ECHO Changing the cdECHO Please wait...PING -n 61 127.0.0.1>nulstart /wait wscript %CDROM%\$OEM$\cd_prompt.vbs open your notepad and past this codeMsgBox "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$ foldermake a copy of distribution folder ($oem$) in the second cd and creat folder called software in bouth cd.my start.cmd@echo offIF 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 InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Installing WinRAR 3.30-PlusECHO Please wait...start /wait %CDROM%\Software\WinRAR\wrar330-Plus.exe /sECHO.ECHO Installing Flashget 1.6ECHO Please wait...start /wait %CDROM%\Software\flashget\fgf160.exe /SECHO.ECHO Registering Flashget 1.6...REGEDIT /S %CDROM%\Software\flashget\register.regECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %CDROM%\Software\Nero\register.regECHO.ECHO Installing Nero Burning ROM v6.0.0.28 Ultra EditionECHO Please wait...start /wait %CDROM%\Software\Nero\Nero60028.exe /silent /noreboot /no_ui /sn=1A23-1180-4038-4227-3743-8855 /write_snECHO.ECHO Changing the cdECHO Please wait...PING -n 61 127.0.0.1>nulstart /wait wscript %CDROM%\$OEM$\cd_prompt.vbsECHO.ECHO Installing Real Player One v10ECHO Please wait...start /wait %CDROM%\Software\RealPlayer\RealPlayer10GOLD.exe /sECHO.ECHO Installing Sun Java VM 1.4.2ECHO Please wait...start /wait %CDROM%\Software\SunJava\j2re-1_4_2-windows-i586.exe /s /v/qnECHO.ECHO Installing MSN Messenger 6.0.0137 FinalECHO Please wait...start /wait %CDROM%\Software\MSN\MsnMsgs.msi /QBECHO.ECHO Installing Adobe Reader 6.0.1ECHO Please wait...start /wait %CDROM%\Software\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""ECHO.ECHO Installing ACDSee 6.0.6 PowerPackECHO Please wait...start /wait %CDROM%\Software\ACDsee\ACDSee606PowerPack.exeECHO.ECHO Installing Office 2003 Professional without FrontpageECHO Please wait...start /wait %CDROM%\Software\Office\setup.exe /QBECHO.ECHO Installing Microsoft Office FrontPage 2003ECHO Please wait...start /wait %CDROM%\Software\Frontpage\setup.exe /QBECHO.ECHO Applying Registry Tweaks...REGEDIT /S %CDROM%\install\RegTweaks.regECHO.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%\installEXITmy CDs After the first logoin the installation of WinRAR , Flashget 1.6 and Nero Burning ROM will star then you will see Changing the cdPlease 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 goodFolders4BouthCd.rarCLS start.cmd Link to comment Share on other sites More sharing options...
JPamplin Posted December 16, 2004 Share Posted December 16, 2004 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 CDPAUSE@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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now