MSFN Forum: install from cd - MSFN Forum

Jump to content



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

install from cd Rate Topic: -----

#1 User is offline   jadi 

  • Group: Members
  • Posts: 1
  • Joined: 21-December 04

Posted 21 December 2004 - 12:38 PM

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


#2 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 21 December 2004 - 01:09 PM

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

#3 User is offline   nfm 

  • Multimedia Guru
  • PipPip
  • Group: Members
  • Posts: 192
  • Joined: 07-December 04

Posted 21 December 2004 - 02:29 PM

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%

#4 User is offline   Tsunami 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 05-March 04

Posted 21 December 2004 - 03:44 PM

benners, on Dec 21 2004, 08:09 PM, said:

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...

#5 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 21 December 2004 - 04:06 PM

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

Quote

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

#6 User is offline   Tsunami 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 05-March 04

Posted 21 December 2004 - 04:15 PM

Hmm, well, you're right that the title implies that, but I couldn't see that from his post. If you want to do that jadi, don't put your files in $OEM$\$1 :)

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