Hi, All!
There's already a bunch of threads on Office2k3, so I've selected this one to ask my question. I haven't been able to find the answer to my question in other threads. If you recall one, please supply me wtih the link.
I ran into a strange problem with unattended install of Office2k3. I use "RunOnceEx from CD" method. It's actually a DVD, but it doesn't matter, I beleive. RunOnceEx.cmd is launched from cmdlines.txt at T-12. The office installation files are located in Software\Office2k3, and the MUI installation files are located in Software\Office2k3MUI.
Here's the full content of my
RunOnceEx.cmd:
CODE
cmdow @ /HID
@echo off
FOR %%d IN (c: 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 %%d\CD.txt SET CDROM=%%d
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "Preparing Installation" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f
REG ADD %KEY%\015 /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\wrar330ru.exe /s" /f
REG ADD %KEY%\020 /VE /D "Daemon Tools" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\daemon346.msi Reboot=ReallySuppress /qn" /f
REG ADD %KEY%\022 /VE /D "TweakUI" /f
REG ADD %KEY%\022 /V 1 /D "%CDROM%\Software\TweakUI.msi /qb" /f
REG ADD %KEY%\025 /VE /D "Nero 5.5.10.54 Russian" /f
REG ADD %KEY%\025 /V 1 /D "REGEDIT /S \"%CDROM%\Software\register_nero.reg\"" /f
REG ADD %KEY%\025 /V 2 /D "%CDROM%\Software\Nero551054.exe /silent /noreboot /no_ui" /f
REG ADD %KEY%\025 /V 3 /D "%CDROM%\Software\nerorus.exe /s" /f
REG ADD %KEY%\027 /VE /D "Adobe Reader" /f
REG ADD %KEY%\027 /V 1 /D "%CDROM%\Software\adobe6.exe" /f
REG ADD %KEY%\030 /VE /D "TotalCommander 6.02" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\tcmdr602.exe" /f
REG ADD %KEY%\032 /VE /D "DVD Decrypter" /f
REG ADD %KEY%\032 /V 1 /D "%CDROM%\Software\DVDDecrypter_3.2.2.0.exe /S" /f
REG ADD %KEY%\035 /VE /D "Opera 7.5" /f
REG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\opera751.exe /s" /f
REG ADD %KEY%\037 /VE /D "Office 2003" /f
REG ADD %KEY%\037 /V 1 /D "%CDROM%\Software\Office2k3\setuppro.exe TRANSFORMS=\"%CDROM%\Software\Office2k3\MyCustom.MST\" /qb-" /f
REG ADD %KEY%\038 /VE /D "Office 2003 MUI Rus" /f
REG ADD %KEY%\038 /V 1 /D "%CDROM%\Software\Office2k3MUI\setup.exe" /f
REG ADD %KEY%\040 /VE /D "Java VM" /f
REG ADD %KEY%\040 /V 1 /D "%CDROM%\Software\java142.exe /s /v/qn" /f
REG ADD %KEY%\045 /VE /D "Symantec AV CE 9.0" /f
REG ADD %KEY%\045 /V 1 /D "%CDROM%\Software\Sav9\SAV9.msi /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /f
REG ADD %KEY%\045 /V 2 /D "%CDROM%\Software\Sav9\update.exe /q" /f
REG ADD %KEY%\050 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
EXIT
All apps install just fine except for the Office2k3 (and consequently Office MUI). The first thing I think of is the syntax for the Office. I do the follwoing check. I open up runonceex.cmd and do
copy/paste to a new file to obtain the following
RunOnceEx_test.cmdCODE
cmdow @ /HID
@echo off
FOR %%d IN (c: 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 %%d\CD.txt SET CDROM=%%d
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\037 /VE /D "Office 2003" /f
REG ADD %KEY%\037 /V 1 /D "%CDROM%\Software\Office2k3\setuppro.exe TRANSFORMS=\"%CDROM%\Software\Office2k3\MyCustom.MST\" /qb-" /f
REG ADD %KEY%\038 /VE /D "Office 2003 MUI Rus" /f
REG ADD %KEY%\038 /V 1 /D "%CDROM%\Software\Office2k3MUI\setup.exe" /f
EXIT
Without removing the DVD from the drive I run this file, and then go check whether the values have been exported to the registry. And here they are


The CD-ROM letter is "I" on the screenshots because I've got two HDDs with three partitions on each one. Well, now I just reboot, and the installation of Office2k3 begings and completes like a charm followed by the MUI installation.
I'm getting really confused. The values apparently get exported to the registry, and that's how I tested them before the installation. After exporting I rebooted and got the installation working fine. However, it's not working during the full unattended setup both on VMWare and real config.
I'll appreciate any ideas on how to get this straight. If more info is needed, I'll supply it promptly. Thanks for your attention to my question.