MSFN Forum: [How To] Use multiple CDs on your setup - MSFN Forum

Jump to content



  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

[How To] Use multiple CDs on your setup Rate Topic: -----

#21 User is offline   mssaad66 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 09-June 04

Posted 02 September 2004 - 06:31 PM

Hi…
Can I add my way for the 2nd CD….. I've made exe file and it's work fine now….the way is very easy just you need to change the file name you wont to setup it in the .cmd file and put that .cmd file on your %systemdrive% by any way you like.. as $OEM$ or other ways just it must to be on the %systemdrive% at the time you went to setup programs from the 2nd cd ….and you need also cd2.txt to be on the root or the 2nd cd, so just we need this 4 (CD2.txt + 2NDCD.cmd + cdeject.exe + cdr.exe) files….
I'll put them at all in the attachments, just you need to edit the .cmd as you need

2NDCD.cmd:

Quote

cls
@ECHO OFF
ECHO.
SET CDROM2=
IF EXIST D:\CD2.txt SET CDROM2=D:
IF EXIST E:\CD2.txt SET CDROM2=E:
IF EXIST F:\CD2.txt SET CDROM2=F:
IF EXIST G:\CD2.txt SET CDROM2=G:
IF EXIST H:\CD2.txt SET CDROM2=H:
IF EXIST I:\CD2.txt SET CDROM2=I:
IF EXIST J:\CD2.txt SET CDROM2=J:
IF EXIST K:\CD2.txt SET CDROM2=K:
IF EXIST L:\CD2.txt SET CDROM2=L:
IF EXIST M:\CD2.txt SET CDROM2=M:
IF EXIST N:\CD2.txt SET CDROM2=N:

IF EXIST %CDROM2%\CD2.TXT GOTO RUN
cls
:RUN
ECHO.
start /wait %CDROM2%\SETUP.exe TRANSFORMS=Unattended.MST /qb-
cls
ECHO.
EXIT
This ismine it is just for the Office, so you can your program here…also I must to tell you that the .cmd file will work in hide mood so you'll not see the Dos black screen
And this is my way to call it also…..
Runonceex.inf:

Quote

HKLM,"%RunOnceEx%\install13",,,"13- Please Insert CD 2"
HKLM,"%RunOnceEx%\install13",1,,"%10%\Apps4\CDR.exe open ALL"
HKLM,"%RunOnceEx%\install13",2,,"%10%\Apps4\cdeject.exe"

I hope that it help you,,,Tell me about it if it work with you or not……

Attached File(s)




#22 User is offline   mssaad66 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 09-June 04

Posted 02 September 2004 - 06:35 PM

This is also the main script you can edit as you want and you can convert it to exe with the AutoIt
www.hiddensoft.com/AutoIt

Attached File(s)



#23 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 02 September 2004 - 06:52 PM

LoL, also this method can be applied to other program or many programs. the administrative installation of office don't take a full cd so i'm thinking on adding photoshop or any other program to the list, just placing this lines on the script:
start /wait %OFFICE%\SETUP.exe TRANSFORMS=Unattended.MST /qb-
start /wait %OFFICE%\ApplicationDir01\Application01.exe
start /wait %OFFICE%\ApplicationDir02\Application02.exe
start /wait %OFFICE%\ApplicationDir..\Application...exe
:thumbup

#24 User is offline   mssaad66 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 09-June 04

Posted 02 September 2004 - 07:24 PM

That is right for that I've add the main script (2ND CD.AUT) to change what you like of description of the 2nd CD& Names of programs..........in this case you must to edit teh .CMD file and .EXE

#25 User is offline   wookieNZ 

  • Group: Members
  • Posts: 5
  • Joined: 11-September 04

Posted 11 September 2004 - 05:16 AM

Hi all,


Thanks very much for work done so far. I am currently trying for a 2 CD unattended install but am tripping up when changing CD's. Using Virtual PC when i change over the cd in the "capture iso" menu it cant find the office file on the new cd.

I have attached the my RunonceEx.cmd file, it is basiacally the same as Alanolls post on page 1.

My files are located on my D:\unattendedxp\xpcd\ folder and officexp (acutally 2003 but not splitting hairs) is located in the \xpcd\$OEM$\$1\applications\officexp dir.

The VB script works find to eject the cd etc (vitrual in this case) however just doesnt find the setup.exe for office on the next cd. I have cd1.txt and cd2.txt in the root of both the ISO cd's.

Any ideas?

Thanks.

Attached File(s)



#26 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 11 September 2004 - 07:45 AM

@wookieNZ
IF EXIST D:\CD1.txt set XPCD=D:
IF EXIST E:\CD2.txt set XPCD=E:
IF EXIST F:\CD3.txt set XPCD=F:
IF EXIST G:\CD4.txt set XPCD=G:
IF EXIST H:\CD5.txt set XPCD=H:
IF EXIST I:\CD6.txt set XPCD=I:
IF EXIST J:\CD7.txt set XPCD=J:
:huh: XPCD it's not properly set, it should look like
IF EXIST D:\CD1.txt set XPCD=D:
IF EXIST E:\CD1.txt set XPCD=E:
IF EXIST F:\CD1.txt set XPCD=F:
IF EXIST G:\CD1.txt set XPCD=G:
IF EXIST H:\CD1.txt set XPCD=H:
IF EXIST I:\CD1.txt set XPCD=I:
IF EXIST J:\CD1.txt set XPCD=J:

and how did you set "%install%" variable? in runonceex it's not stablished

#27 User is offline   wookieNZ 

  • Group: Members
  • Posts: 5
  • Joined: 11-September 04

Posted 11 September 2004 - 01:20 PM

Hi,

%INSTALL% is REM'd out so i dont use it... i am using half of another script :)

The two code blocks you posted are the same, so what have a i done wrong?
EDIT: Look harder!!!! opps.

Cheers.

#28 User is offline   Jito463 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 442
  • Joined: 01-July 04

Posted 11 September 2004 - 02:29 PM

Quote

cls
@ECHO OFF
ECHO.
SET CDROM2=          (unnecessary)
IF EXIST D:\CD2.txt SET CDROM2=D:
IF EXIST E:\CD2.txt SET CDROM2=E:
IF EXIST F:\CD2.txt SET CDROM2=F:
IF EXIST G:\CD2.txt SET CDROM2=G:
IF EXIST H:\CD2.txt SET CDROM2=H:
IF EXIST I:\CD2.txt SET CDROM2=I:
IF EXIST J:\CD2.txt SET CDROM2=J:
IF EXIST K:\CD2.txt SET CDROM2=K:
IF EXIST L:\CD2.txt SET CDROM2=L:
IF EXIST M:\CD2.txt SET CDROM2=M:
IF EXIST N:\CD2.txt SET CDROM2=N:
You know, it's so simple I can't believe I didn't think of it sooner. Maybe because it's so simple? I've been having an odd issue lately with my TechDVD where I use finddrv along with the label to find my DVD drive and set it as a variable (%tech%).

Quote

:CDCOMMON
LH MOUSE.COM
LH MSCDEX.EXE /D:oemcd001 /L:J
A:\FINDDRV TechDVD
if errorlevel 10                set tech=j:
if errorlevel 11 set tech=k:
if errorlevel 12                set tech=l:
set tech=%tech%
path %temp%;A:;%tech%


That worked under IsoLinux with mkisofs. But with CDImage and CDShell, it can't find the drive even though if I switch manually to the drive my disc is in and do a dir listing it shows the label correctly. Well, duh. Here's this idea and it solves all my problems. I just created a blank file called TechDVD (no extension needed) and do:

Quote

if exist j:\techdvd  set tech=j:
if exist k:\techdvd  set tech=k:
if exist l:\techdvd  set tech=l:
set tech=%tech%
path %temp%;A:;%tech%


That did it. Thanks for helping me realize my ignorance ;)
And as a bonus, I even manage to get rid of an extra line, heh.

#29 User is offline   wookieNZ 

  • Group: Members
  • Posts: 5
  • Joined: 11-September 04

Posted 11 September 2004 - 03:05 PM

@simonsays

I have changed the code block as you described but still getting the "cant find \install\appplications\officexp\setup.exe" error.

A question: i have added cd2.txt to the office cd iso but i dont get to use it according to the code block, is this right?

Cheers.

#30 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 12 September 2004 - 09:29 AM

wookieNZ, on Sep 11 2004, 11:05 PM, said:

@simonsays

I have changed the code block as you described but still getting the "cant find \install\appplications\officexp\setup.exe" error.

check the paths, the code SHOULD work

Quote

A question: i have added cd2.txt to the office cd iso but i dont get to use it according to the code block, is this right?
you need to stablish a second variable like in the example %OFFICE%:

Quote

IF EXIST D:\CD2.txt set OFFICE=D:
IF EXIST E:\CD2.txt set OFFICE=E:
IF EXIST F:\CD2.txt set OFFICE=F:
IF EXIST G:\CD2.txt set OFFICE=G:
IF EXIST H:\CD2.txt set OFFICE=H:
IF EXIST I:\CD2.txt set OFFICE=I:
IF EXIST J:\CD2.txt set OFFICE=J:


#31 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 12 September 2004 - 09:56 AM

Simon,

off topic that case of your computer looks nice, how much did it cost?

#32 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 12 September 2004 - 10:17 AM

Astalavista, on Sep 12 2004, 05:56 PM, said:

Simon,

off topic that case of your computer looks nice, how much did it cost?

it isn't offtopic, i really like talk about that piece of hardware :D
it's a chieftec dragon black DX-01B-D-U, i love that case, i had pursuit it from many time until last year. the case itself costs about 90€ and the transparent window... (let me think i can't remember too well)... about 50€ (the full side includes the window and an 8cm fan with a new couple of keys)
Posted Image
more information about chieftec series can be found here

#33 User is offline   wookieNZ 

  • Group: Members
  • Posts: 5
  • Joined: 11-September 04

Posted 13 September 2004 - 01:32 PM

@simonsays

ok so where should i be putting this extra code?? in the office CD iso (where in there?) or in the main rununceex file?

cheers.

#34 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 13 September 2004 - 01:54 PM

wookieNZ, on Sep 13 2004, 09:32 PM, said:

@simonsays

ok so where should i be putting this extra code?? in the office CD iso (where in there?) or in the main rununceex file?

cheers.

i'll try to explain it but not detailed:
you got to stablish a first variable in this case, %CDROM% so first portion of code it's for the 1CD, next we stablish a second variable, last portion of code, which is %OFFICE%. both codes go to your runonceex.
to do this we need in the first cd CD1.TXT (that contains the main installation of xp) and in the second cd we put CD2.TXT (this is our new created cd that contains office).
for a deeply explanation refer to first post.

#35 User is offline   wookieNZ 

  • Group: Members
  • Posts: 5
  • Joined: 11-September 04

Posted 13 September 2004 - 10:52 PM

Hi,

If that goes into the runonceex file and i only have one iso captured at a time how is the %office% variable going to be set?

#36 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 14 September 2004 - 05:43 AM

wookieNZ, on Sep 14 2004, 06:52 AM, said:

Hi,

If that goes into the runonceex file and i only have one iso captured at a time how is the %office% variable going to be set?

good question, please check first post. on that command file, if office cd it's not inserted in 1min, variable it's not set and the installation will continue and if it's then it will install office.

#37 User is offline   ankap 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 18-March 04

Posted 14 September 2004 - 09:18 PM

You can do CD Changing and Recognizing drive letter with this utility.
I've posted it earlier http://www.msfn.org/...showtopic=27019
It 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.

#38 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 15 September 2004 - 06:50 AM

@ankap a nice uitility, but it brakes my unattended purposes :P

#39 User is offline   ankap 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 18-March 04

Posted 15 September 2004 - 08:38 PM

What u mean SiMoNsAyS ?

#40 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 16 September 2004 - 08:23 AM

ankap, on Sep 16 2004, 04:38 AM, said:

What u mean SiMoNsAyS ?

simple: using you're tool you have to manually switch the cds and then press OK.
my command line it's intended to do it unattended so if in 1min you don't switch between cds, installation will continue normally without pressing any button.

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • 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