Jump to content

MS Office 2007 + Language Pack


BabisSougias

Recommended Posts

I have already created my Silent Office 2007 installation. I just came across a language pack for my native language(greek) and i am trying to install that silently too. I actually only want the Proofing Tools.

1) Direct Method

(based on info found on the MS Resource center)

Copy paste the language files on the installation source directory. No overwrites occur(except 2-3 files which are essentially exactly the same). If i run setup normally(no switches etc) i get the message on the screenshot attached and continue the Installation normally and everything is good. However, when i create an *.MSP file to make the installation silent, i still get prompted to choose and until i click next the installation pauses. So i can't figure out a way to get rid of that message.

Prompt.jpg

2) Indirect Method

Install Office 2007 normally with my already created installation which has been tested and works great, and then apply the language pack. However, there is no way to customize the installation the same way as office is, not even make it silent. I copied some files from the office 2007 to enable the /admin command but that does't work either.

3) Alternative Method

I tried to somehow add the proofing tools to the original installation, by copying the appropriate files and editing .xml but that didn't work either. Setup said there were no applications to install and didn't even start the process.

Any ideas? : )

Edited by BabisSougias
Link to comment
Share on other sites


Hi

I used the next method to install en-us proofing tools:

First install Microsoft Office 2007.

Edit Config.xml file from OMUI.en-us folder (from Proofing Tools) with notepad and leave only these lines:

<Configuration Product="OMUI.en-us">

<Display Level="Basic" CompletionNotice="No" SuppressModal="no" AcceptEula="yes" />


<PIDKEY Value="XXXXXXXXXXXXXXXXXXXXXXXXX" /> -->

<Setting Id="Reboot" Value="ReallySuppress" />

</Configuration>

Change PIDKEY value with your Microsoft Office 2007 serial number (without "-").

Then use the next AutoIt script (compiled) placed in the same folder with setup.exe to run the program:

Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)

; Run the installer
Run("setup.exe")

; Select a Microsoft Office Product
WinWait("2007 Microsoft Office system", "")
Sleep(2000)
WinActivate("2007 Microsoft Office system", "")
Send("!c")

; Choose the installation you want
WinWait("Microsoft Office Language Pack 2007 - English", "")
Sleep(2000)
WinActivate("Microsoft Office Language Pack 2007 - English", "")
Send("{TAB}")
Send("{ENTER}")

; Customize how Microsoft Office programs run
WinWait("Microsoft Office Language Pack 2007 - English", "")
WinActivate("Microsoft Office Language Pack 2007 - English", "")
Send("{ENTER}")
Send("{DOWN}")
Send("{ENTER}")
Send("!i")
Sleep(5000)
ProcessWaitClose('setup.exe')
Sleep(2000)

; Delete MSOCache folder
DirRemove(@HomeDrive &"\MSOCache", 1)

This script will install complete version of Proofing Tools (Run all from My Computer).

Don't forget that Config.xml and the script is for en-us and Microsoft has released service pack's (1) for

the entire Office 2007 suite (including proofing tools).

Thats all.

A similar method can be used to install Microsoft Expression Web 2007 (except for serial number which is for

Microsoft Expression Web 2007 and Config.xml is located in WebDesigner.WW).

Edited by radix
Link to comment
Share on other sites

I have SP1 extracted on my Update folder. Will the fixes for the language pack take priority or will it happen afterwards?

You mean Update folder from Proofing Tools?

Edited by radix
Link to comment
Share on other sites

I mean the Update folder from office 2007, the one you drop all update file in and then they are automatically installed during installation.

You know, the new method microsoft thinks it's really good, but in reality takes more space and more time.

Wait, unless i am missing something. I need to copy some file from the language pack to the installation point right? Then i edit the xml as you said, and then i use the AutoIt script?

edit: As i see on the script, keystrokes are send to click next for the program to begin. I didn't know you could do that. If you can do it there is an easier way to make the installation. As i already mentioned if you copy paste all Language pack files on the source of your silent installation point and then run

setup.exe /admin

then you have the ability to choose stuff from both packs at once!

I was able to do that without needing to run a second installer, i just needed a way to get that "Next" clicked.

So what script do i need to press "next"?

Edited by BabisSougias
Link to comment
Share on other sites

I mean the Update folder from office 2007, the one you drop all update file in and then they are automatically installed during installation.

You know, the new method microsoft thinks it's really good, but in reality takes more space and more time.

I know this method and use it. But Microsoft has released Service Pack 1 for Proofing Tools and if you downloaded

this SP the extracted msp files can be placed into Updates folder from Proofing Tools.

Link to comment
Share on other sites

Check my edited post.

Also here is a screeshot for that:

Sc1.jpg

This is the main point of the installation which has new options once you copy paste everything. I think you can do the same thing and not have to run a second installer, just a small script to press Alt+N at the right time.

Also, if you do that, then the updates will launch after everything is installed and will also update the proofing tools(the main service pack 1 contains the fixes for languange packs as well).

Edited by BabisSougias
Link to comment
Share on other sites

Ok, so to clarify because i might have confused you.

I copy paste all language pack files to the root directory of my installation(See left side of the screenshot on post directly above). Setup realises that, and offers the options shown on the screenshot on the top post. It also changes what options you have when you click to install the main program!

Therefore you are able to install everything at once, but the only problem is that the message prompting you to choose what to install(top post screenshot) will always occur. A script that just clicks next at the right time is all that is needed.

At least i think so :/

I understand what your script does, but i think there is a better way for you too : ).

Edited by BabisSougias
Link to comment
Share on other sites

Ok, so to clarify because i might have confused you.

I copy paste all language pack files to the root directory of my installation(See left side of the screenshot on post directly above). Setup realises that, and offers the options shown on the screenshot on the top post. It also changes what options you have when you click to install the main program!

Therefore you are able to install everything at once, but the only problem is that the message prompting you to choose what to install(top post screenshot) will always occur. A script that just clicks next at the right time is all that is needed.

At least i think so :/

I understand what your script does, but i think there is a better way for you too : ).

In this case you can try this script:

Run(@ScriptDir & "\setup.exe" & " /adminfile setup.msp")
WinWait("2007 Microsoft Office System", "")
WinActivate("2007 Microsoft Office System", "")
Sleep(2000)
Send("{ENTER}")
Sleep(5000)
ProcessWaitClose('setup.exe')
Sleep(2000)

; Delete MSOCache folder
DirRemove(@HomeDrive &"\MSOCache", 1)

I will use a separate installer for language pack.

Link to comment
Share on other sites

Hey again. I found some information you might find interesting. With the method which you copy the language pack files on the installation point:

Create a config.xml at the same directory as setup.exe:

<Configuration Product="Enterprise">


<AddLanguage Id="en-us" ShellTransform="yes"/>
<AddLanguage Id="el-gr" />



</Configuration>

With these commands i add english-us and make them the language the Shell will use and i also add greek. You would probably only need the first line since you only deal with english. With the same command you add any language you want.

Then the installation is unattended :). Meaning you just create the .msp file with the /admin command, you choose from options that also include everything the language pack has and you just run setup like if you didn't have any language pack in the first place.

That way you don't need autoIT script.

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