MSFN Forum: RunOnceEx and Multi-CD - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

RunOnceEx and Multi-CD Rate Topic: -----

#1 User is offline   nodiaque 

  • Code Master
  • Pip
  • Group: Members
  • Posts: 98
  • Joined: 21-July 04

Posted 26 January 2005 - 12:28 AM

Hi, I used to make my unatended installation with [GuiRunOnce] and a batch file but I just discovered the RunOnceEx method. Now, I have a 2 cd installation, 1 for windows and app, the other for Office 2k3. Now, I was wondering how can I make a "cd switch" in RunOnceEx so it ask for second cd and install afterward...

This is how I used to make it in [GuiRunOnce]:

ECHO.
ECHO Ejecting CD-ROM Drives...
ECHO If you are using a cd rom please remove it from
ECHO the cdrom drive and If you have a second cd place
ECHO it in the drive at this time please.
ECHO.
ECHO Wait till the cdrom drive quits blinking
ECHO and then ...
ECHO start
start cscript %systemdrive%\install\Tools\cd_eject.vbs > null
ECHO After start
pskill cscript.exe > null
ECHO.
PAUSE

IF EXIST %systemdrive%\install\applications.cmd GOTO RUNBATCH
SET 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 RUNBATCH

ECHO Please be patient while files are copied to your hard drive.
xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y
ECHO.

ECHO.
ECHO Starting application batch file
start /wait %systemdrive%\install\applications.cmd


(yes I took it from this website a while ago).

Now, this work great in a batch file, but I don't think I can use it for RunOnceEx. Any clue someone?

Tks


#2 User is offline   nodiaque 

  • Code Master
  • Pip
  • Group: Members
  • Posts: 98
  • Joined: 21-July 04

Posted 26 January 2005 - 02:53 AM

Well someone just post something for that in the forum so for those in need of something of the like, go to here: http://www.msfn.org/...showtopic=27019

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