January 26, 200521 yr 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 fromECHO the cdrom drive and If you have a second cd placeECHO it in the drive at this time please.ECHO.ECHO Wait till the cdrom drive quits blinkingECHO and then ...ECHO startstart cscript %systemdrive%\install\Tools\cd_eject.vbs > nullECHO After startpskill 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.ECHO.ECHO Starting application batch filestart /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
January 26, 200521 yr Author 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/board/index.php?showtopic=27019
Create an account or sign in to comment