MSFN Forum: [solution] Installing Office 2k3 On T-12 - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

[solution] Installing Office 2k3 On T-12 and maybe in svcpack.inf, didn't test it Rate Topic: -----

#1 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 21 March 2005 - 12:17 PM

Well, I've been using this for a while, and looks like there's more people wanting to use it. It's a little script making it possible to install Office at T-12. Maybe on other times, dunno, haven't tested those. Just be happy by the fact Office'll install perfectly fine.

Alright, another thing, only the versions I write here will work, if it isn't listed, don't try to use a script of another version, as it will NOT WORK, no doubt.

Make sure your transform is named "UNATTENDED.MST". Thanks. :)

Now, the apps, place the needed version in the root office folder, right next to "setup.exe" and "unattended.mst":

*links moved a bit down*

Two notes when using this:
  • For the love of god, only use this when you experience problems. It could very well be the installation works without this script!
  • There's a downside to this method, being that if you want to launch Office Update, you need to insert the disc. This happens because the installation files aren't cached (this saves disk space tho, I always manually delete those files anyway).
Before you start writing this script yourself, take a look if you can't use one of these precompiled scripts:

Office 2003 English Professional Edition
Attached File  officeexec_ENG_PRO.zip (142.48K)
Number of downloads: 834

Office 2003 English Standard Edition
Download here (thanks to pontiacmn for this one)

Office 2003 Dutch Professional Edition
Download here

Alright, let's get started. If you don't want to read all this crap, just take a look at the simplified version in the attached template:

Attached File  officeexec_template.au3 (1.17K)
Number of downloads: 341

-----------------------------------------------------------------------------------------------
Tutorial

For the explanation, I will use the Office 2k3 ENG Professional script as a template.

<span style='font-size:21pt;line-height:100%'>1</span> First, learn to write and compile an AutoIT-script. See this topic for a decent explanation.

<span style='font-size:21pt;line-height:100%'>2</span> Here's the simple script:

Opt("SendKeyDelay", 1)
Opt("WinWaitDelay", 1)

Run("SETUP.EXE TRANSFORMS=Unattended.MST /QB")

WinWaitActive("Windows Installer")
WinSetState("Windows Installer", "", @SW_HIDE)

WinWaitActive("Microsoft Office Professional Edition 2003", "1406")
Send("!I")

WinWaitClose("Microsoft Office Professional Edition 2003")


The first two lines (Opt...) makes sure the script runs as fast as possible.

The third line (Run...) runs the setup, using the specified MST-file. Note that the /QB parameter is used. When /QN is used, the installation will rollback and cancel when an error occurs. We don't want this to happen of course.

The fourth line (WinWaitActive...) waits until the window with the title "Windows Installer" pops up. This is a line you shouldn't change, as all .MSI-installers start out with this window.

The fifth line (WinSetState...) makes that same window invisible, so that no installer will be seen.

The sixth line (WinWaitActive...) waits until the window with title "Microsoft Office Professional Edition 2003" and error code "1406" pops up. The title must be modified to the language version you use. You can only get to know this title by launching setup with /QB and letting the error occur.

The seventh line (Send...) sends ALT+I. When you hold ALT when the error dialog occurs, you see that one letter per button is underlined. You need to press ALT plus the underlined letter to activate that button. The button we want to press is "Ignore". Every language versions has a different name for that button, so also a different underlined letter. Please don't remove the "!", this represents the ALT.

The eighth line (WinWaitClose...) waits until the window called "Microsoft Office Professional Edition 2003" closes. This is the same window as "Windows Installer", but has renamed itself. This title also differs from language version to version. This line is needed because otherwise the script will exit too soon, meaning that RunOnceEx/Batchfile/blah will continue, even while Office is still installing.

-----------------------------------------------------------------------------------------------

This post probably needs some updating, but I'll leave it like this for now. :)

This post has been edited by Nanaki: 19 September 2007 - 07:51 AM



#2 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 21 March 2005 - 03:06 PM

I"d like to know what you did :P

#3 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 22 March 2005 - 10:28 AM

Alright, I'm less tired now. :P

Well, when Office is installed with /QN, it doesn't install. The reason? It gives an error, and because of that error the whole install is aborted. "Crap!" :)
But when the install is launched with /QB or /QR, the error is shown. It's an error revolving around some registry entry. That registry entry is needed for Error Sending. That same registry entry is GENERATED every time you launch Office anyway! So this is basically an AutoIt script which launches the setup with /QB, hides the spawned window and clicks "IGNORE" when the error pops up. Hey, it works! :)

I'll put up the simple script here soon, so anyone can use it. ^^

#4 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 22 March 2005 - 10:39 AM

did you perhaps try to just import the required registry key? it would stink if it was that simple :P

#5 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 22 March 2005 - 10:45 AM

Yup, I tried editing the key before installing Office, didn't work.

I could write and read to it then though... stupid Office :)

#6 User is offline   gmx 

  • Member
  • PipPip
  • Group: Members
  • Posts: 171
  • Joined: 09-November 03

Posted 22 March 2005 - 11:12 AM

whats the advantage of installing office at t-12?

#7 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 22 March 2005 - 11:30 AM

I install anything at T-12. Everything's applied under Default User and Administrator, it looks waaaay better (with XPlode) and it's a bit faster (no reboot required after install) ^^

#8 User is offline   nujackk 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 18-March 05

Posted 07 April 2005 - 01:51 AM

just to be sure I understand this correctly I only need to run this exe and do not need to add the transform=blah blah to the batch? or do I still need to add it ?
And I assume this is just an Autoit Script? What is the passphrase so I can decompile it and have a look, if you don't mind?

#9 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 07 April 2005 - 05:50 AM

No parameters are needed.

Anyone care testing this version? It should work on any language-version now (well, using the Latin character set :P).

It doesn't have a passphrase, but AutoIt is pretty easy to hack 'nyway. :P a** I previously said, I'll explain the code when I have the time (not that it's too hard).

This post has been edited by Nanaki: 19 September 2007 - 07:52 AM


#10 User is offline   nujackk 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 18-March 05

Posted 17 April 2005 - 12:27 AM

I have a question

Can I run this via the setupparams in winnt.sif. which runs at T-9 ?

#11 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 17 April 2005 - 03:41 AM

Sure, if it gives an error there.

I'll explain this script soon btw, when I have some time.

#12 User is offline   nujackk 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 18-March 05

Posted 17 April 2005 - 04:14 PM

I'll give it a try.

And one other question, do you know if not hiding the cmd window would interfere with the script?
Because the first time I ran it it just sat there until i minimized the window and saw the error message behind it, had to click cancel myself. ( I kept unhidden as a way to keep track of progress as I had the batch run 2 diff files and wanted to see if both were executed)

#13 User is offline   RideGuy 

  • Group: Members
  • Posts: 9
  • Joined: 03-March 05

Posted 28 April 2005 - 01:06 PM

oops.

#14 User is offline   expert_1st 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 01-February 05

Posted 06 May 2005 - 12:25 PM

Nanaki, on Apr 17 2005, 03:41 AM, said:

Sure, if it gives an error there.

I'll explain this script soon btw, when I have some time.
<{POST_SNAPBACK}>


We wait :whistle:

#15 User is offline   edusnow 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 22-June 05

Posted 15 July 2005 - 11:54 AM

Hi,...
I use your *.exe file to make a silent install of my Office 2003 Professional. It works good, but,...
The application install goods, but then the system stops. I need to make a reset to the pc, and then RunOnceEx.cmd works again, office didnīt install (its alredy done) and the other applications still installing in order.
This is my RunOncEx.cmd

-------------------------------
cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Office 2003" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Office_2003\officeexecENGpro.exe" /f

REG ADD %KEY%\008 /VE /D "Office Proofing Tools 2003" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\Install\OfficePTools\ptksetup.exe TRANSFORMS=pt_una.mst /qb-" /f

,... and so on

-------------------------------

What do i need to do more?

Thanks
snow

#16 User is offline   edusnow 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 22-June 05

Posted 15 July 2005 - 03:53 PM

I,...
I have made another attempted to install Office. I have the same result "for the 8š time :( ". I made a CRT+ALT+DEL, instade a reset and Windows continuos installing and the *.exe icon appears on the left side of the clock, saying that is paused. If i "unpause" nothing happends.

:blushing:

what can i do?
thanks
snow

#17 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 15 July 2005 - 04:54 PM

Well, it's probably because my script doesn't detect the exit of the installer correctly.

I completly forgot about this, I'll try to explain this script asap.

#18 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 26 July 2005 - 01:18 PM

see the 7z method here:
http://www.msfn.org/board/index.php?showto...%207zip&st=426#

could I just modify the config.txt, not using a cmd file at all:
config.txt
;!@Install@!UTF-8!
RunProgram="officeexecNLpro.exe"
;!@InstallEnd@!


(assuming I don't need StartX.exe for this).
------------------------------------------------------------------------------------------------------------------------------------------
EDIT
tried just adding officeexecNLpro.exe in config.txt and it works fine.
Except the file never kills itself when install is finished... so RunOnceEx doesn't contiue, have to use CTRL+ALT+DEL and kill the proces "officeexecNLpro.exe".

Please post a fix or give your code!

I have autoit3.exe in my System32 folder already (need it for other tasks) so won't need a .exe (i think... would need to configure the 7zip sfx to start autoit3.exe with the au3 file... but I think this can only be done using StartX.exe.... so using your exe would be easier anyway.)

This post has been edited by ZileXa: 26 July 2005 - 03:51 PM


#19 User is offline   Nanaki 

  • Leg-humper
  • PipPipPipPip
  • Group: Members
  • Posts: 511
  • Joined: 17-January 05

Posted 26 July 2005 - 03:48 PM

Updated and explained in first post. Now you can see how simple the script is.
I actually had a multilingual version around, but I lost it somehow. Myabe I'll recreate it sometime, when I have time. :)

#20 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 03 August 2005 - 02:48 AM

will test when the new ryanvmpack arrives...

the older version has worked fine with me.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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