Jump to content

can't install office 2003 unattended


b|ade

Recommended Posts

hi all,

i just startet to run my unattended windows xp installation. i added the following commands to a batch-file which i called from cmdlines.txt:

@echo off

title "Windows wird konfiguriert"

echo "Microsoft Office 2003 Installation"

echo "Bitte warten..."

echo.

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

echo "Registrierung wird aktualisiert..."

regedit.exe /s %systemdrive%\install\alluser.reg

echo.

echo "Schriftarten werden kopiert..."

move /y %systemdrive%\install\Fonts\* %windir%\Fonts\ > nul

the problem is, that first the office installation seems to start, the windows appears, but if its nearly finished, the statusbar rolls back and the installation breaks. there is no alert.

anyone this error?

thanks for help

Link to comment
Share on other sites


I've got an idea, what the problem could be.

At the stage when cmdlines.txt is run, the all users profile doesn't exist. Perhaps office needs this profile.

So to solve this problem, I would propose to run the installation through runonceex.cmd.

Hope this helps.

Link to comment
Share on other sites

yes, thats right. i've tried to add the office install command to the [guirunonce] and the install finished sucessfully.

but on the unattended windows website (unattended.msfn.org) is no hint that the install with cmdlines.txt would not work.

the second thing is, that [guirunonce] is not so comfortable, because i have to wait after the first login until the office install has finished.

Link to comment
Share on other sites

This works for me (from a CD) where

SILENT is the folder containing all the

installs...

CLS
@echo off

if exist d:\SILENT set cdrom=d:
if exist e:\SILENT set cdrom=e:
if exist f:\SILENT set cdrom=f:
if exist g:\SILENT set cdrom=g:
if exist h:\SILENT set cdrom=h:
if exist i:\SILENT set cdrom=i:
if exist j:\SILENT set cdrom=j:
if exist k:\SILENT set cdrom=k:
if exist l:\SILENT set cdrom=l:
if exist m:\SILENT set cdrom=m:
if exist n:\SILENT set cdrom=n:
if exist o:\SILENT set cdrom=o:
if exist p:\SILENT set cdrom=p:
if exist q:\SILENT set cdrom=q:
if exist r:\SILENT set cdrom=r:
if exist s:\SILENT set cdrom=s:
if exist t:\SILENT set cdrom=t:
if exist u:\SILENT set cdrom=u:
if exist v:\SILENT set cdrom=v:
if exist w:\SILENT set cdrom=w:
if exist x:\SILENT set cdrom=x:
if exist y:\SILENT set cdrom=y:
if exist z:\SILENT set cdrom=z:

ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait...
start /wait %CDROM%\SILENT\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

That runs at the end of WINNT.SIF along with

all the other installs, the usual MSFN way...

[GuiRunOnce]
%systemdrive%\install\start.cmd

No need to copy that Office to your hard disk,

just use the above code (but ONLY put that

C to Z drive section in ONCE at the top!)

So if your Office was bunched with a load of

other programs then it would only appear as:

ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait...
start /wait %CDROM%\SILENT\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

Office 2003 is 600Mb or something... this can be done

with most silent installs, not Daemon Tools but apart from

that, pretty much all software can install from the CD or DVD

this way, with no copying to your hard drive required ;) saves

a good 20 minutes sometimes.

Edited by LeveL
Link to comment
Share on other sites

thank you.

i know, that the unattended installation of office works when you add the command to guirunonce (like i explained above...)

but i want to install office with the cmdlines.txt - option.

Doc Symbiosis wrote a possibility why this mode won't work.

has anyone tried the cmdlines.txt-installation?

Link to comment
Share on other sites

thank you. i looked for the post, but thats not the way i want to install office.

but a hint in the thread made me try the office install without the "-" option and this brought the follwing error message:

office.jpg

if i choose the "ignorieren" option, the setup will finish without any problems and the applications work fine.

Link to comment
Share on other sites

officeexec.exe

thank you. i looked for the post, but thats not the way i want to install office.

but a hint in the thread made me try the office install without the "-" option and this brought the follwing error message:

office.jpg

if i choose the "ignorieren" option, the setup will finish without any problems and the applications work fine.

I use autoit script to press Ignore button. I had the same problem. Please try attached script. But it was for english version.

Link to comment
Share on other sites

that error reporting part is the issue.

I remeber ryanvm or psooibly roguespear saying that the issue is because that the error reporting part is either disabled or not available yet and so stripped that requirement out of the install msi and all went well.

again i haven't done this myself but all seemed ok according to posts

Link to comment
Share on other sites

officeexec.exe

thank you. i looked for the post, but thats not the way i want to install office.

but a hint in the thread made me try the office install without the "-" option and this brought the follwing error message:

office.jpg

if i choose the "ignorieren" option, the setup will finish without any problems and the applications work fine.

I use autoit script to press Ignore button. I had the same problem. Please try attached script. But it was for english version.

sorry, but i found no way to use the attached script. if i start the .exe windows tells me to use the systemconfig to install new programms.

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