Jump to content

install from cd


jadi

Recommended Posts

I want to make an UI of XP and to test myself I started with Office 2003. And it works...

But only from a partition of my HDD not from a CD I burned.

I get the message that SETUP.exe cannot be found.

The root of the cd is: J:\$oem$\$1\install\applications\office2003

J being the cd drive.

In the same map as $oems$ is a file namend install.cmd

the contents reads:

@echo off

ECHO.

ECHO Installeren van Office XP Professional met Frontpage

ECHO Even geduld aub...

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

("even geduld aub" is dutch for "a moment please")

What am I doing wrong or what do I miss??

Jadi

Link to comment
Share on other sites


The %systemdrive% variable points to the drive windows is installed on, you will need to add a line that gets the cdrom letter.

FOR %%i IN (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 %%i:\win51ip.SP2 SET CDROM=%%i:

then use the %cdrom% variable. (I think), swap win51ip.sp2 for a filename that you have on the root of your CD

Link to comment
Share on other sites

or as with mine

IF EXIST D:\WIN51 set CDROM=D:
IF EXIST E:\WIN51 set CDROM=E:
IF EXIST F:\WIN51 set CDROM=F:
IF EXIST G:\WIN51 set CDROM=G:
IF EXIST H:\WIN51 set CDROM=H:
IF EXIST I:\WIN51 set CDROM=I:
IF EXIST J:\WIN51 set CDROM=J:
IF EXIST K:\WIN51 set CDROM=K:
IF EXIST L:\WIN51 set CDROM=L:
IF EXIST M:\WIN51 set CDROM=M:
IF EXIST N:\WIN51 set CDROM=N:

my batch looks like this

ECHO.
ECHO Installing Microsoft Office 2003 SP1 Professional
ECHO Please wait...
start /wait %cdrom%\Install\Office_2003_SP1\PRO11.MSI /QB
ECHO Installation Successful!

and yes, benners, the variable is %cdrom%

Link to comment
Share on other sites

The %systemdrive% variable points to the drive windows is installed on, you will need to add a line that gets the cdrom letter.

FOR %%i IN (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 %%i:\win51ip.SP2 SET CDROM=%%i:

then use the %cdrom% variable. (I think), swap win51ip.sp2 for a filename that you have on the root of your CD

He put the files in $OEM$\$1\Install, so they will be copied to the harddrive during setup. Also, your batch file probably won't work, because %%i already has a : at the end, and you're adding another one to it.

@jadi: Please verify if the files were copied to your harddrive (so if setup.exe really exists in C:\Install\Applications\Office2003). And a little bit offtopic, but your description says it's installing Office XP, but you're pointing to a folder called Office2003...

Link to comment
Share on other sites

I thought he wanted to change his setup routine and run from CD?.

Also, your batch file probably won't work, because %%i already has a : at the end, and you're adding another one to it.
**** my bad eyes, 18 hrs infront of the 'puter, I deleted some extra text from the code and missed that, Thanks
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...