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).
Office 2003 English Professional Edition
Click to view attachment
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:
Click to view attachment
-----------------------------------------------------------------------------------------------
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:
CODE
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")
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.
