Jump to content

Problem with Runonceex with office


Recommended Posts

Hi ang good afternoon ,

I adapted the RUNONCEEX method , the problem is that i'm using a VB file to eject the CD for switching to the one that contains the Office files and i dont know how to integrate it with the runonceex.cmd file .

Here is a part of the Install.cmd that im using for Office , can you help me to "convert" it to runonceex command ?

GOTO MAIN

:Main

CLS

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 If you are using a dvd please remove it

ECHO at this time.

ECHO.

ECHO Wait till the cdrom/dvd drive quits blinking

ECHO and then ...

start cscript %systemdrive%\install\Tools\cd_eject.vbs >nul

PSKill cscript.exe >nul

ECHO.

PAUSE

NEXT

IF EXIST %systemdrive%\install\Applications\of2003\OF20032.cmd GOTO of22

SET CDROM2=

IF EXIST D:\install\of2003\OF20032.CMD SET CDROM2=D:

IF EXIST E:\install\of2003\OF20032.CMD SET CDROM2=E:

IF EXIST F:\install\of2003\OF20032.CMD SET CDROM2=F:

IF EXIST G:\install\of2003\OF20032.CMD SET CDROM2=G:

IF EXIST H:\install\of2003\OF20032.CMD SET CDROM2=H:

IF EXIST I:\install\of2003\OF20032.CMD SET CDROM2=I:

IF EXIST J:\install\of2003\OF20032.CMD SET CDROM2=J:

IF EXIST K:\install\of2003\OF20032.CMD SET CDROM2=K:

IF NOT EXIST %CDROM2%\install\of2003\OF20032.CMD GOTO next

ECHO Please be patient while files are copied to your hard drive.

xcopy %CDROM2%\install\OF2003 %systemdrive%\install\Applications\OF2003 /S /C /Q /H /Y

ECHO.

:of22

ECHO.

echo Installing Office 2003 Professional English Interface Support Please Wait.....

echo.

start /wait %systemdrive%\install\Applications\of2003\setup.exe TRANSFORMS=%systemdrive%\install\Applications\of2003\Unattended.MST /qb-

start /wait %systemdrive%\install\Applications\of2003\EngMUI\setup.exe TRANSFORMS=%systemdrive%\install\Applications\of2003\EngMUI\Unattended.MST /qb-

ECHO.

Link to comment
Share on other sites


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...