MSFN Forum: Unattended Install Multi CD Help - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Unattended Install Multi CD Help Rate Topic: -----

#1 User is offline   RBCC 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 621
  • Joined: 09-July 04

  Posted 24 September 2004 - 10:08 PM

I have a Windows XP SP 2 Setup that will span at least 2 CD Roms. Yes I am planing on getting a DVD +RW this Christmas, but XMas ain't here yet. Now how do I build a CD set so it asks for the proper CD when it's needed? Also is there a utility that does this for you?

John :hello: :hello:


#2 User is offline   ml20 

  • Junior
  • Pip
  • Group: Members
  • Posts: 93
  • Joined: 21-October 03

Posted 25 September 2004 - 09:36 AM

these threads may help if you only have one cd drive.

http://www.msfn.org/...?showtopic=8381
http://www.msfn.org/...showtopic=25110


if you have two, just add some IF EXIST D:\CD1.TXT SET=CD1, IF EXIST E:\CD2.TXT SET=CD2, stuff in your batch to get it to find the cd in drive two. :)

this is what i use to get 2 cds active. it looks like:
IF EXIST D:\D1.txt SET CDROM=D:
IF EXIST E:\D1.txt SET CDROM=E:
IF EXIST F:\D1.txt SET CDROM=F:
IF EXIST G:\D1.txt SET CDROM=G:
IF EXIST H:\D1.txt SET CDROM=H:
IF EXIST I:\D1.txt SET CDROM=I:
IF EXIST D:\D2.txt SET CDROM2=D:
IF EXIST E:\D2.txt SET CDROM2=E:
IF EXIST F:\D2.txt SET CDROM2=F:
IF EXIST G:\D2.txt SET CDROM2=G:
IF EXIST H:\D2.txt SET CDROM2=H:
IF EXIST I:\D2.txt SET CDROM2=I:


#3 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,019
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 September 2004 - 09:53 AM

You could do that in 2 lines (this is by far my most reused/recycled/reposted contents on this forum)

for %%a 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 %%a:\D1.txt set CDROM=%%a:
for %%a 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 %%a:\D2.txt set CDROM=%%a:


I adapted it to use your file names and you can remove the drives you don't want it to seach... You could even have 2 separate variables (in case it has 2 drives and you insert a disc in each or such) and have conditionnal checks that would make it detect/ask for the next disc or such accordingly... It wouldn't be hard.

#4 User is offline   RBCC 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 621
  • Joined: 09-July 04

Posted 25 September 2004 - 09:45 PM

Thank you for your Help!!!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy