BabisSougias Posted December 15, 2007 Posted December 15, 2007 (edited) 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.2) Indirect MethodInstall 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 MethodI 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 December 15, 2007 by BabisSougias
radix Posted December 15, 2007 Posted December 15, 2007 (edited) HiI 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 installerRun("setup.exe"); Select a Microsoft Office ProductWinWait("2007 Microsoft Office system", "")Sleep(2000)WinActivate("2007 Microsoft Office system", "")Send("!c"); Choose the installation you wantWinWait("Microsoft Office Language Pack 2007 - English", "")Sleep(2000)WinActivate("Microsoft Office Language Pack 2007 - English", "")Send("{TAB}")Send("{ENTER}"); Customize how Microsoft Office programs runWinWait("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 folderDirRemove(@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) forthe 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 forMicrosoft Expression Web 2007 and Config.xml is located in WebDesigner.WW). Edited December 15, 2007 by radix
BabisSougias Posted December 15, 2007 Author Posted December 15, 2007 I have SP1 extracted on my Update folder. Will the fixes for the language pack take priority or will it happen afterwards?
radix Posted December 15, 2007 Posted December 15, 2007 (edited) 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 December 15, 2007 by radix
BabisSougias Posted December 15, 2007 Author Posted December 15, 2007 (edited) 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 /adminthen 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 December 15, 2007 by BabisSougias
radix Posted December 15, 2007 Posted December 15, 2007 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 downloadedthis SP the extracted msp files can be placed into Updates folder from Proofing Tools.
radix Posted December 15, 2007 Posted December 15, 2007 (edited) Man! Copy all content from Proofing Tools CD into a separate folder and do what I said in my first post. Don't copy files to Office folder! Edited December 15, 2007 by radix
BabisSougias Posted December 15, 2007 Author Posted December 15, 2007 (edited) Check my edited post.Also here is a screeshot for that: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 December 15, 2007 by BabisSougias
BabisSougias Posted December 15, 2007 Author Posted December 15, 2007 (edited) 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 December 15, 2007 by BabisSougias
radix Posted December 15, 2007 Posted December 15, 2007 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 folderDirRemove(@HomeDrive &"\MSOCache", 1)I will use a separate installer for language pack.
BabisSougias Posted December 16, 2007 Author Posted December 16, 2007 (edited) I tested it and it works with both ways, i only had to change a few names because of the different language pack. Thanx a ton . Edited December 16, 2007 by BabisSougias
BabisSougias Posted December 22, 2007 Author Posted December 22, 2007 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now