gosh Posted January 17, 2004 Share Posted January 17, 2004 Batch file or inf? You can use the cdrom for both. The next time i have some free time i'll update my runonceex page to show how to do this.-gosh Link to comment Share on other sites More sharing options...
jhyim Posted January 25, 2004 Share Posted January 25, 2004 Show me the directory tree in 1 & 2 CD Link to comment Share on other sites More sharing options...
hysel Posted February 3, 2004 Share Posted February 3, 2004 hi all i tried to add menu selection for the installation i manage to do that but when i tried to use this method, the batch file terminates and the installation just go onis there a way from preventing that?10x in advanced Link to comment Share on other sites More sharing options...
Kastrw35 Posted March 16, 2004 Share Posted March 16, 2004 Ok many of you have been asking how to do a 2 cd install. For this I have setup my cd's with pretty much nothing but the install with service pack 1 and hotfixes slipstreamed and drivers on the first cd. On the second cd is any other apps I want to install. In my winnt.sif I use this.[GuiRunOnce]%systemdrive%\install\first_boot.cmdok that's so that I have only one cmd file to call witch does all the real work.This is my first_boot.cmdCLS@ECHO OFFECHO.ECHO Ejecting CD-ROM Drives...ECHO If you are using a cd rom please remove it fromECHO the cdrom drive and If you have a second cd placeECHO it in the drive at this time please.ECHO.ECHO If you are using a dvd please remove itECHO at this time.ECHO.ECHO Wait till the cdrom/dvd drive quits blinkingECHO and then ...start cscript %systemdrive%\install\Tools\cd_eject.vbs >nullPSKill cscript.exe >nullECHO.PAUSEIF EXIST %systemdrive%\install\applications.cmd GOTO RUNBATCHSET CDROM2=IF EXIST D:\install\applications.cmd SET CDROM2=D:IF EXIST E:\install\applications.cmd SET CDROM2=E:IF EXIST F:\install\applications.cmd SET CDROM2=F:IF EXIST G:\install\applications.cmd SET CDROM2=G:IF EXIST H:\install\applications.cmd SET CDROM2=H:IF EXIST I:\install\applications.cmd SET CDROM2=I:IF EXIST J:\install\applications.cmd SET CDROM2=J:IF EXIST K:\install\applications.cmd SET CDROM2=K:IF NOT EXIST %CDROM2%\install\applications.cmd GOTO RUNBATCHECHO Please be patient while files are copied to your hard drive.xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.:RUNBATCH:: cmdow @ /hid:: ECHO Running Main Batch ...:: ECHO.:: start /wait %systemdrive%\install\main_batch.cmd:HOTFIXES:: This hopefully has been obsoleted by slipstreaming the hotfixes into the installer.:: Keeping it around just in case it is needed for anything else.:: IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO APPS:: ECHO Running Hotfixes Batch ...:: ECHO.:: start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd:APPSIF NOT EXIST %systemdrive%\install\apps.inf GOTO CUSTOMECHO Running Applications Batch ...ECHO.start /wait RunDll32.exe setupapi,InstallHinfSection DefaultInstall 0 %systemdrive%\install\Apps.inf:CUSTOMIF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO ERROR:: ECHO Running Cumstom Batch ...:: ECHO.:: start /wait %systemdrive%\install\CUSTOMIZE.CMDGOTO END:ERRORIF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO _ECHOIF NOT EXIST %systemdrive%\install\apps.inf GOTO _ECHOIF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO _ECHOGOTO END:_ECHOECHO.ECHO *******************WARNING*******************ECHO Hotfixes or Applications were not installedECHO because they could not be found.ECHO.:: ECHO Check %systemdrive%\install\install.log for:: ECHO more information.ECHO *******************WARNING*******************ECHO.PAUSE:ENDECHO.ECHO Restarting the PC in 30 seconds...shutdown -r -f -t 30 -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::RD /S /Q %systemdrive%\Drivers::ECHO.EXITOk on the second cd you should have an install folder with everything setup in it just like you do now. Also to note that you should only have the cmd files that go with whatever you have on your second cd. For instance if you have \install\applications on the second cd like me then you should also have your applications.cmd under \install on oyur second cd. Hope this helps others. oh forgot here is the cd_eject.vbsSet oWMP = CreateObject("WMPlayer.OCX.7" )Set colCDROMs = oWMP.cdromCollectionif colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdromEnd Ifi love ur gide but can u plz samplfy it plzlike what to do in the 1st cd and what is the *.cmd files goz and the 2nd cd and so on and is ut gonna work with the RunOnceEx ??and one last Thing is it easy to archive the cd's like a .cap files so no one know what is the directory look like and ... Thanx Link to comment Share on other sites More sharing options...
TMaYaD Posted March 18, 2004 Share Posted March 18, 2004 Hi,Lemme try to add something to this.I added a small C program (obviously costomised for the specific cd) that when run, shows a menu for the user and creates corresponding batch script, which is then run to complete the installation and again checks for a new cd.And for creating the batch script I can hard code the batch commands in the prog, or use a file created in some pre defined format.Which one would you propose?The usage of a menu might look against the unattended spirit. But Even for changing a cd , user intervention is needed. and the inputs can be given right away then.Moreover I added a small timer for timeout of full install (all the apps on the cd).I doubt the platform indipendence of the timer. however it just works fine with me.If I can , I'll get back to you with the prog. ASAP.and don't refrain from giving any feedback.byePS: My MoBo has gone for a replacement. I'll have to wait till the new one returns, So that i can give You the prog code. Link to comment Share on other sites More sharing options...
dkreifus Posted April 1, 2004 Share Posted April 1, 2004 I've been tryin to get the files to copy from the 2nd CD.The first CD and the installations on it run, then it gives the following error:"CANNOT PERFORM A CYCLIC COPY"Anyone know what I'm doing wrong?Here is my code for my first CD:...ECHO.ECHO Installing WinRAR 3.11ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar311.exe /sECHO.ECHO Installing AIM 5.2ECHO Please wait...start /wait %systemdrive%\install\Applications\AIM\Install_AIM.exe /sECHO.ECHO Ejecting CD-ROM Drives...ECHO If you are using a cd rom please remove it fromECHO the cdrom drive and If you have a second cd placeECHO it in the drive at this time please.ECHO.ECHO If you are using a dvd please remove itECHO at this time.ECHO.ECHO Wait till the cdrom/dvd drive stops blinkingECHO and then ...%systemdrive%\install\tools\cdr.exe open %CDROM%ECHO.PAUSE%systemdrive%\install\tools\cdr.exe close %CDROM%PAUSESET CDROM2=IF EXIST D:\install\applications.cmd SET CDROM2=D:IF EXIST E:\install\applications.cmd SET CDROM2=E:IF EXIST F:\install\applications.cmd SET CDROM2=F:IF EXIST G:\install\applications.cmd SET CDROM2=G:IF EXIST H:\install\applications.cmd SET CDROM2=H:IF EXIST I:\install\applications.cmd SET CDROM2=I:IF EXIST J:\install\applications.cmd SET CDROM2=J:IF EXIST K:\install\applications.cmd SET CDROM2=K:IF EXIST L:\install\applications.cmd SET CDROM2=L:IF EXIST M:\install\applications.cmd SET CDROM2=M:IF EXIST N:\install\applications.cmd SET CDROM2=N:IF EXIST O:\install\applications.cmd SET CDROM2=O:IF EXIST P:\install\applications.cmd SET CDROM2=P:IF EXIST Q:\install\applications.cmd SET CDROM2=Q:IF EXIST R:\install\applications.cmd SET CDROM2=R:IF EXIST S:\install\applications.cmd SET CDROM2=S:IF EXIST T:\install\applications.cmd SET CDROM2=T:IF EXIST U:\install\applications.cmd SET CDROM2=U:ECHO Please be patient while files are copied to your hard drive.xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.:HOTFIXES:: This hopefully has been obsoleted by slipstreaming the hotfixes into the installer.:: Keeping it around just in case it is needed for anything else.:: IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO END:: ECHO Running Hotfixes Batch ...:: ECHO.:: start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd:ERRORIF NOT EXIST %systemdrive%\install\applications.cmd GOTO _ECHOGOTO END:_ECHOECHO.ECHO *******************WARNING*******************ECHO APPLICATION were not installedECHO because they could not be found.ECHO.:: ECHO Check %systemdrive%\install\install.log for:: ECHO more information.ECHO *******************WARNING*******************ECHO.PAUSE:ENDECHO.::ECHO Deleting Temp Installation Files...::RD /S /Q %systemdrive%\install::RD /S /Q %systemdrive%\Drivers::ECHO.EXIT2nd CD:CLS@echo offTITLE 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 Starting installation of ApplicationsECHO.ECHO Installing Office 2003 Professional with FrontpageECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-It's the only thing holding up my installation...arg Link to comment Share on other sites More sharing options...
Scuba Steve Posted April 12, 2004 Share Posted April 12, 2004 WEBMEDIC: Is the New Version Finished Yet? Or did you solve the two cd problem using some other method? Link to comment Share on other sites More sharing options...
yazanaswad Posted April 29, 2004 Share Posted April 29, 2004 Hi all , Pls webmedic can you help me here , i wanna make a 2nd unattend Cd for all the programs like Norton , office xp, etc,,, and i have made onlt 2 CMD files ( hotfixes.cmd and main_batch.cmd)the hotfixes.cmd is :CLS @echo off ECHO. ECHO Installing Q322011... start /wait %systemdrive%\install\Hotfixes\Q322011.exe /Q /M /Z ECHO. ECHO Installing Q322069... start /wait %systemdrive%\install\Hotfixes\Q322069.exe /Q /M /Z ECHO. ECHO Installing Q323255... start /wait %systemdrive%\install\Hotfixes\Q323255.exe /Q /M /Z ECHO. ECHO Installing Q327979... start /wait %systemdrive%\install\Hotfixes\Q327979.exe /Q /M /Z ECHO. ECHO Installing Q328310... start /wait %systemdrive%\install\Hotfixes\Q328310.exe /Q /M /Z ECHO. ECHO Installing Q329048... start /wait %systemdrive%\install\Hotfixes\Q329048.exe /Q /M /Z ECHO. ECHO Installing Q329115... start /wait %systemdrive%\install\Hotfixes\Q329115.exe /Q /M /Z ECHO.ECHO Installing Q329115... start /wait %systemdrive%\install\Hotfixes\Q329115.exe /Q /M /Z ECHO. ECHO Installing Q329390... start /wait %systemdrive%\install\Hotfixes\Q329390.exe /Q /M /Z ECHO.ECHO Installing Q329834... start /wait %systemdrive%\install\Hotfixes\Q329834.exe /Q /M /Z ECHO.ECHO Installing Q331953... start /wait %systemdrive%\install\Hotfixes\Q331953.exe /Q /M /Z ECHO.ECHO Installing Q810272... start /wait %systemdrive%\install\Hotfixes\Q810272.exe /Q /M /Z ECHO.ECHO Installing Q810565... start /wait %systemdrive%\install\Hotfixes\Q810565.exe /Q /M /Z ECHO.ECHO Installing Q810577... start /wait %systemdrive%\install\Hotfixes\Q810577.exe /Q /M /Z ECHO. ECHO Installing Q810833... start /wait %systemdrive%\install\Hotfixes\Q810833.exe /Q /M /Z ECHO. ECHO Installing Q322069... start /wait %systemdrive%\install\Hotfixes\Q322069.exe /Q /M /Z ECHO.ECHO Installing Q811493... start /wait %systemdrive%\install\Hotfixes\Q811493.exe /Q /M /Z ECHO. ECHO Installing Q811630... start /wait %systemdrive%\install\Hotfixes\Q811630.exe /Q /M /Z ECHO. ECHO Installing Q814033... start /wait %systemdrive%\install\Hotfixes\Q814033.exe /Q /M /Z ECHO.ECHO Installing Q814994... start /wait %systemdrive%\install\Hotfixes\Q814994.exe /Q /M /Z ECHO. ECHO Installing Q815021... start /wait %systemdrive%\install\Hotfixes\Q815021.exe /Q /M /Z ECHO. ECHO Installing Q81656... start /wait %systemdrive%\install\Hotfixes\Q81656.exe /Q /M /Z ECHO. ECHO Installing Q817606... start /wait %systemdrive%\install\Hotfixes\Q817606.exe /Q /M /Z ECHO.ECHO Installing Q819696... start /wait %systemdrive%\install\Hotfixes\Q819696.exe /Q /M /Z ECHO. ECHO Installing Q8323509... start /wait %systemdrive%\install\Hotfixes\Q8323509.exe /Q /M /Z ECHO. ECHO Installing Q8342676... start /wait %systemdrive%\install\Hotfixes\Q8342676.exe /Q /M /Z ECHO.ECHO Installing Q834536435... start /wait %systemdrive%\install\Hotfixes\Q834536435.exe /Q /M /Z ECHO.ECHO Installing Q83467... start /wait %systemdrive%\install\Hotfixes\Q83467.exe /Q /M /Z ECHO.ECHO Installing Q8354334... start /wait %systemdrive%\install\Hotfixes\Q8354334.exe /Q /M /Z ECHO. ECHO Installing Q83568356... start /wait %systemdrive%\install\Hotfixes\Q83568356.exe /Q /M /Z ECHO. ECHO Installing Q837567... start /wait %systemdrive%\install\Hotfixes\Q837567.exe /Q /M /Z ECHO. ECHO Installing Q8395749... start /wait %systemdrive%\install\Hotfixes\Q8395749.exe /Q /M /Z ECHO.ECHO Installing Q845757... start /wait %systemdrive%\install\Hotfixes\Q845757.exe /Q /M /Z ECHO. ECHO Installing Q847457... start /wait %systemdrive%\install\Hotfixes\Q847457.exe /Q /M /Z ECHO.ECHO Installing Q848762... start /wait %systemdrive%\install\Hotfixes\Q848762.exe /Q /M /Z ECHO. ECHO Installing Q855543... start /wait %systemdrive%\install\Hotfixes\Q855543.exe /Q /M /Z ECHO. ECHO Installing Q856435... start /wait %systemdrive%\install\Hotfixes\Q856435.exe /Q /M /Z ECHO.ECHO Installing Q85685... start /wait %systemdrive%\install\Hotfixes\Q85685.exe /Q /M /Z ECHO. ECHO Installing Q86745654... start /wait %systemdrive%\install\Hotfixes\Q86745654.exe /Q /M /Z ECHO. ECHO Installing Q867678... start /wait %systemdrive%\install\Hotfixes\Q867678.exe /Q /M /Z ECHO.ECHO Installing Q8678567... start /wait %systemdrive%\install\Hotfixes\Q8678567.exe /Q /M /Z ECHO.ECHO Installing Q869867... start /wait %systemdrive%\install\Hotfixes\Q869867.exe /Q /M /Z ECHO.ECHO Installing Q87485645... start /wait %systemdrive%\install\Hotfixes\Q87485645.exe /Q /M /Z ECHO.ECHO Installing Q8867878... start /wait %systemdrive%\install\Hotfixes\Q8867878.exe /Q /M /Z ECHO.ECHO Installing Q330994... start /wait %systemdrive%\install\Hotfixes\Q330994.exe /Q:A /R:N ECHO. ECHO Installing Q5645... start /wait %systemdrive%\install\Hotfixes\Q5645.exe /Q:A /R:N ECHO. ECHO Installing Q678568... start /wait %systemdrive%\install\Hotfixes\Q678568.exe /Q:A /R:N ECHO. ECHO Installing Q813951... start /wait %systemdrive%\install\Hotfixes\Q813951.exe /Q:A /R:N ECHO. ECHO Installing Q822925... start /wait %systemdrive%\install\Hotfixes\Q822925.exe /Q:A /R:N ECHO. ECHO Installing Q8328943... start /wait %systemdrive%\install\Hotfixes\Q8328943.exe /Q:A /R:N ECHO. ECHO Installing Q832894... start /wait %systemdrive%\install\Hotfixes\Q832894.exe /Q:A /R:N ECHO. ECHO Installing Q8324343... start /wait %systemdrive%\install\Hotfixes\Q8324343.exe /Q:A /R:N ECHO. ECHO Installing Q831167... start /wait %systemdrive%\install\Hotfixes\Q831167.exe /Q:A /R:N ECHO. ECHO Installing Q823718... start /wait %systemdrive%\install\Hotfixes\Q823718.exe /Q:A /R:N ECHO. ECHO Installing Q8348567... start /wait %systemdrive%\install\Hotfixes\Q8348567.exe /Q:A /R:N ECHO. ECHO Installing Q8345745... start /wait %systemdrive%\install\Hotfixes\Q8345745.exe /Q:A /R:N ECHO. ECHO Installing Q83455324... start /wait %systemdrive%\install\Hotfixes\Q83455324.exe /Q:A /R:N ECHO. ECHO Installing Q834474... start /wait %systemdrive%\install\Hotfixes\Q834474.exe /Q:A /R:N ECHO. ECHO Installing Q83434653... start /wait %systemdrive%\install\Hotfixes\Q83434653.exe /Q:A /R:N ECHO. ECHO Installing Q8379282... start /wait %systemdrive%\install\Hotfixes\Q8379282.exe /Q:A /R:N ECHO. ECHO Installing Q855555... start /wait %systemdrive%\install\Hotfixes\Q855555.exe /Q:A /R:N ECHO. ECHO Installing Q8687896... start /wait %systemdrive%\install\Hotfixes\Q8687896.exe /Q:A /R:N ECHO. EXIT and the main_batch.cmd is :@echo offecho.echo Just Wait for some times in this stage some programs will be installed echo so Wait......echo Ok DUDE The Yazan ECHO. ECHO Installing WinRAR 3.20 ECHO Please wait... start /wait %systemdrive%\$OEM$\$1\Install\Applications\WinRAR\wrar320.exe /s ECHO.ECHO Installing Acrobat Reader 5 FullECHO Please wait... start /wait %systemdrive%\$OEM$\$1\Install\Applications\Acrobat\Acrobat\Setup.exe /s ECHO.ECHO Installing Windows Media Player 9ECHO Please Wait...start /wait %systemdrive%:\$OEM$\$1\Install\WMP9\setup_wm.exe /Q:A /R:NECHO.ECHO Installing MSN 6.1 ECHO Please Wait...start /wait %systemdrive%:\$OEM$\$1\Install\MSN\SETUPNT.exe /Q:A /R:NExitand the winnt.bat is :@rem SetupMgrTag@echo offremrem This is a SAMPLE batch script generated by the Setup Manager Wizard.rem If this script is moved from the location where it was generated, it may have to be modified.remset AnswerFile=.\Winnt.sifset SetupFiles=.\i386.\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang>>>>>>>>>>>>>>>>and the winnt.sif is :;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS repartation=No Unattendswitch="yes" Waitforreboot="No"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=185 OemSkipWelcome=1[userData] ProductID=xxxxx-xxxxx-xxxxxx-xxxxx-xxxxx FullName="YazanAswad" OrgName="" ComputerName=Yazan[Display] BitsPerPel=16 Xresolution=800 YResolution=600 Vrefresh=70[TapiLocation] CountryCode=92 AreaCode=051[RegionalSettings] LanguageGroup=13[identification] JoinWorkgroup=XXXXXXXXX[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=192.168.0.1 SubnetMask=255.255.255.0 WINS=No NetBIOSOptions=0[GuiRunOnce] %systemdrive%\install\hotfixes.cmd %systemdrive%\install\main_batch.cmd >>>>>>>>>>>>>>>>>>>>>>>>>>I went throught ur post but i didnt understand it , So may you pls help me and tell me what code can i add to the sif file to allow me to make 2nd CD for the rest of the applications pls and how can i put the programs in the 2nd Cd should i put them in ( $OEM$ ------$1-----Install )) Thank you Thanks alllYazan Link to comment Share on other sites More sharing options...
The Black Cloud Posted June 16, 2004 Share Posted June 16, 2004 hi guys no answers Link to comment Share on other sites More sharing options...
3dew Posted June 22, 2004 Share Posted June 22, 2004 I also have problems with this guide...for instance... where does the cd_eject.vbs file go?and I assume I can create this file just with Notepad, saving it with the .vbs extension?As I understand, CD2 only has 1 folder in the root: Install...it is a bit vague guide... not really guidy but more "this is how it is"... A DIRECTORY TREE of CD2 would be nice, with all the necessary files for the cd to work and maybe some examples....Is it also possible to, when (or just before) CD2 is inserted, there is a window where I can select the programs I want to install? And then press OK and it installs all selected unattended?Is it perhaps possible to create CD2, in a way it is INDEPENDENT FROM CD1So when CD1 (with for example basic programs that do not require an update frequently, WindowsXP, OfficeXP, Winrar, Adobe Reader) is finished, I can decide wether or not to insert CD2 with additional programs..The idea is, CD2 can also be used for a computer that is already installed, but doesn't have some applications... So I insert this CD2 and select the appz I want it to install for me... Link to comment Share on other sites More sharing options...
mssaad66 Posted August 4, 2004 Share Posted August 4, 2004 Hi...I've edited a File to help Installing the 2nd CD and you can call it from the RunOnceEx file with the cd_eject.vbsMy RunOnceEx.cmd :cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "1- Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Ap\prepare.cmd" /fREG ADD %KEY%\012 /VE /D "12- Please Insert CD 2" /fREG ADD %KEY%\012 /V 1 /D "start cscript %systemdrive%\cd_eject.vbs >nul" /fREG ADD %KEY%\012 /V 2 /D "PSKill cscript.exe >nul" /fREG ADD %KEY%\012 /V 3 /D "%systemdrive%\ Ap\2nd_CD.exe" /f#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:REG ADD %KEY%\013 /VE /D "13- MS Office 2003 Professional" /fREG ADD %KEY%\013 /V 1 /D "%CDROM%\SETUP.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\014 /VE /D "14- Cleaning Up and Rebooting" /fREG ADD %KEY%\014 /V 1 /D "%systemdrive%\Ap\cleanup.cmd" /fEXITMy cd_eject.vbs :Set oWMP = CreateObject("WMPlayer.OCX.7" )Set colCDROMs = oWMP.cdromCollectionif colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdromEnd If But now my problem is how to let this script witch we can make it as .exe file to search for the cd and check if it is the current cd or not becouse it is now working but with out searching for the 2nd cd……..so can you help me in it……..2nd_CD.aut Link to comment Share on other sites More sharing options...
RBCC Posted September 8, 2004 Share Posted September 8, 2004 Hi all, Does the Second disk have to be bootable also? Link to comment Share on other sites More sharing options...
RBCC Posted September 8, 2004 Share Posted September 8, 2004 How do I compile a A VB Script Program? What do I use? John Link to comment Share on other sites More sharing options...
Lucius Snow Posted September 14, 2004 Share Posted September 14, 2004 Is it possible to reduce the setup size by removing the files from the components we don't need ? The guide i've read will explain how to customize the setup but not how to reduce it.I have around 170 MB left on my CD (if i use 800 MB medias), i was wondering if i could fit Office 2003 by a/ compressing (either with 7zip or RAR) b/ keeping the setup files of Word, Excel, Powerpoint and Outlook only. Link to comment Share on other sites More sharing options...
ankap Posted September 15, 2004 Share Posted September 15, 2004 You can do CD Changing and Recognizing drive letter with this utility.I've posted it earlier http://www.msfn.org/board/index.php?showtopic=27019It ejects the CD-ROM pauses and brings Message Box then if Ok pressed loads CD-ROM checks for CD label finds the correct CD and returns drive letter.I use it in my 3 CD Install, it works fine. 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