b|ade Posted April 20, 2006 Posted April 20, 2006 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 offtitle "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.regecho.echo "Schriftarten werden kopiert..."move /y %systemdrive%\install\Fonts\* %windir%\Fonts\ > nulthe 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
Doc Symbiosis Posted April 21, 2006 Posted April 21, 2006 (edited) Does the installation works, if you try to run it in normal mode? Edited April 21, 2006 by Doc Symbiosis
b|ade Posted April 23, 2006 Author Posted April 23, 2006 yes, thats a little strange.if i run the batch file later it works without any problems.
Doc Symbiosis Posted April 23, 2006 Posted April 23, 2006 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.
b|ade Posted April 23, 2006 Author Posted April 23, 2006 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.
LeveL Posted April 23, 2006 Posted April 23, 2006 (edited) This works for me (from a CD) whereSILENT is the folder containing all theinstalls...CLS@echo offif 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 ProfessionalECHO Please wait...start /wait %CDROM%\SILENT\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-That runs at the end of WINNT.SIF along withall the other installs, the usual MSFN way...[GuiRunOnce] %systemdrive%\install\start.cmdNo need to copy that Office to your hard disk,just use the above code (but ONLY put thatC 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 ProfessionalECHO Please wait...start /wait %CDROM%\SILENT\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-Office 2003 is 600Mb or something... this can be donewith most silent installs, not Daemon Tools but apart fromthat, pretty much all software can install from the CD or DVDthis way, with no copying to your hard drive required savesa good 20 minutes sometimes. Edited April 23, 2006 by LeveL
b|ade Posted April 23, 2006 Author Posted April 23, 2006 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?
oioldman Posted April 24, 2006 Posted April 24, 2006 if you search for a post by Nanaki he describes a way to install office via cmdlines.txtI haven't used it, but seems to have worked for all those using it
b|ade Posted April 24, 2006 Author Posted April 24, 2006 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:if i choose the "ignorieren" option, the setup will finish without any problems and the applications work fine.
hardwaregeek Posted April 24, 2006 Posted April 24, 2006 officeexec.exethank 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: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.
oioldman Posted April 24, 2006 Posted April 24, 2006 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
b|ade Posted April 24, 2006 Author Posted April 24, 2006 @hardwaregeek:thank you for the download, but can you tell me how to use it too plz? =)
b|ade Posted April 25, 2006 Author Posted April 25, 2006 officeexec.exethank 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: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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now