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
Page 1 of 1
install from cd
#2
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
Posted 21 December 2004 - 02:29 PM
or as with mine
my batch looks like this
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
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
Posted 21 December 2004 - 04:06 PM
I thought he wanted to change his setup routine and run from CD?.
**** my bad eyes, 18 hrs infront of the 'puter, I deleted some extra text from the code and missed that, Thanks
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.
#6
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
- ← Weird problems with little bits left to do
- Unattended Windows 2000/XP/2003
- XP Welcome Screen is NOT disabling..... →
Share this topic:
Page 1 of 1



Help
Back to top









