5/27/2010

Office 2007, Unattended Setup & Fine…
Ch oose Y ou r Color

MSFN Hom e

For u m s

Mem ber s

Ca len da r

Su bscr ipt ion s

Con t a ct Us

Sea r ch

Sign In

Register

Help

MSFN Forums> Microsoft Software Products - Discussion & Support MSFN Forum Rules > Microsoft Office 97/2000/2002-XP/2003/2007View New Content
Search

Office 2007 Ribbon Add the rich ribbon user interface to your Windows Forms applications
www.divelements.co.uk

(1 6 Pages) 1 2 3 → Last »

Office 2007, Unattended Setup & Fine-tuning its very easy & simple! Rate Topic:
prathapml
Post ed 1 4 A pr il 2 0 0 6 - 1 0 :2 2 A M

(updated to reflect final RTM v ersion) Unattending or silently installing MS Office Sy stem, has now become easier than ev er. There are two way s to unattend y our setup: --> Option A (use it only if y ou got Office2007 thru SoftwareA ssurance, which comes with activ ation stripped out). --> Option B is for all the others (retail/OEM/academic/trial/etc). Both are colored differently below. Option A : 1 . Ensure y ou hav e an actual V LK (some call it enterprise/corporate) disc & product-key . 2. Notably , o2k7 uses setup patches (*.MSP) for uA , rather than transforms which prev ious v ersions used (*.MST). The below instructions will giv e y ou an MSP file, which is not accepted by non-corporate v ersions of o2k7 . If y ou ignored point1 abov e, then y ou will end up wasting 1 5 minutes of y our life which I'm not responsible for. 3. Now at the command prompt, ty pe: setup.ex e /adm in

http://www.msfn.org/board/topic/723…

1/11

5/27/2010at the command prompt, ty pe: setup.ex e /adm in Office 2007, Unattended Setup & Fine… 3. Now 4. Choose the product for which y ou want to make a customization-patch. 5. Then go through all steps in the customization wizard (to install the reqd apps & remov e junk & change default settings). 6. Be sure to hav e "completion notice" turned on & "suppress modals" turned off (this is to get to see errors, if any ex ist). Once y ou're done with testing, go thru the customization again to modify the MSP to disable completion notice & enable suppress modals. 7 . Sav e the resulting patch file in the same folder as o2k7 setup files. 8. Now just ex ecute this command (thru any method) for silent install: setup.ex e /adm infile CUST OM.MSP
Or if y ou hav e the Office 2007 Enterprise VLK, y ou could ev en drop the CUSTOM.MSP file in the "Updates" folder & setup will pick it up automatically (without any switches being used). For this, ensure y ou hav e WindowsInstaller 3.1 already installed. Y ou can add in further MSP files (ex tracted from SP1 update EXE) as well, to hav e updates applied during install. *** For completely silent install, y ou MUST set the Display Lev el to "none", either by MSP (accessible from step 6 abov e) or by x ml, otherwise y ou'll get a confirmation dialog similar to the image shown in attachment below. (do this only A FTER testing, when y ou're sure it works)

(http://www.msfn.org/board/index .php? app=core&module=attach&section=attach&attach_id=1 7 1 68) confirm.jpg (http://www.msfn.org/board/index .php?app=core&module=attach&section=attach&attach_id=1 7 1 68) (24.3K) Number of downloads: 1 300 This post has been edited by prathapm l: 08 Nov ember 2008 - 1 2:24 PM

Sponsor

http://www.msfn.org/board/topic/723…

2/11

5/27/2010

Office 2007, Unattended Setup & Fine…

MS Office Courses Only $5 Word-Excel-PPT-Outlook-Access Hundred of Courses Available
www.OasisSkillsBuilding.com

Lowest Priced Software Software closeout! Microsoft Office Only $55 and More, Lowest prices
www.pricerightsoftware.com

prathapml
Post ed 1 4 A pr il 2 0 0 6 - 1 1 :1 1 A M

Option B: 1 . Go to the folder-path, "Office2007 \Pro.WW" (or any ??????.WW folder for other editions such as standard/enterprise/etc) 2. Modify "config.x ml", or copy it to somewhere else & modify it, using my posted code below as a sample. 3. If y ou modified it "in location", then setup will take up the changes automatically . 4. Otherwise, place the modified file in the same folder of setup.ex e, as custom-uA .XML 5. This is the command to run setup with the customizations specified in custom-uA.XML: setup.ex e /config custom -uA.XML 7 . This method is also a great way to make changes to the defaults itself, so that y ou dont need to keep changing it upon ev ery new time y ou install it. The sample XML here, makes setup fully silent, cuts down features rarely used by me, and reduces install footprint of Office 2007 Professional from 7 21 MB, to 303 MB (of course y ou can alway s add/remov e components later); I'v e also remov ed lines that I found useless from it, y ou might like to keep many of the default lines & customize them. A lso, be aware that the XML offers a way to chain updates & install them before or after o2k7 setup, but then y ou'll lose control ov er reboot parameters. By default, o2k7 setup wont cause an auto-reboot, so no need of "/noreboot" or "Reboot=Really Suppress" properties. I intend this XML to be used for clean installs, with no prev ious v ersion settings or profiles to be migrated. Use "start /wait" for silent installs. This file is for the main suite, y ou can modify it accordingly for the other component products, the options are commented with doubleslashes. I obtained the OptionIds from setup.x ml files, in each component folder. Here's a tested/working config.x ml file, to get y ou started with Option B: (y ou need to put in y our own key , and configuration-Product can be obtained from y our current x ml) <Configuration Product="Pro"> <Display Lev el="none" CompletionNotice="no" SuppressModal="y es" A cceptEula="y es" /> <PIDKEY V alue="BCDFGHJKMPQRTV WXY 23467 89B" /> <USERNAME V alue="0wner" /> <COMPA NY NA ME V alue="0wn Inc." /> <OptionState Id="A CCESSFiles" State="absent" Children="force" /> //access <OptionState Id="OUTLOOKFiles" State="absent" Children="force" /> //outlook <OptionState Id="PubPrimary " State="absent" Children="force" /> //publisher <OptionState Id="A ceRepl" State="absent" Children="force" /> //access db Engine replication <OptionState Id="CA GFiles" State="Local" Children="force" /> //Clip Organizer <OptionState Id="MSSOA P3" State="absent" Children="force" /> //SOAP toolkit <OptionState Id="OsaNonBoot" State="Local" Children="force" /> //new,open office docu lnks <OptionState Id="ProofingTools_1 036" State="absent" Children="force" /> //french <OptionState Id="ProofingTools_3082" State="absent" Children="force" /> //spanish <OptionState Id="WISPFiles" State="absent" Children="force" /> //handwriting <OptionState Id="DocServ icesFiles" State="absent" Children="force" /> //docu update util <OptionState Id="HTMLSourceEditing" State="absent" Children="force" /> //script editor <OptionState Id="DocumentImagingUtils" State="absent" Children="force" /> //scanning,ocr,index ing <OptionState Id="OISFiles" State="absent" Children="force" /> //picture manager <OptionState Id="OSESupp" State="absent" Children="force" /> //sharepoint support <OptionState Id="Query Files" State="absent" Children="force" /> //msQuery <OptionState Id="V isioPrev iewerFiles" State="absent" Children="force" /> //v isio v iewer <OptionState Id="XDOCSFiles" State="absent" Children="force" /> //infopath <!-- These are additionals from Enterprise RTM <OptionState Id="Groov eFiles" State="absent" Children="force" /> //groov e <OptionState Id="OneNoteFiles" State="absent" Children="force" /> //onenote <OptionState Id="RefIEBarFiles" State="absent" Children="force" /> //research ex plorer bar <OptionState Id="WebDriv eFiles" State="absent" Children="force" /> //hosted webs <OptionState Id="V BA Files" State="absent" Children="force" /> //VB for applications

http://www.msfn.org/board/topic/723…

3/11

5/27/2010 Office 2007, Unattended //VB for applications <OptionState Id="V BA Files" State="absent" Children="force" />Setup & Fine… <OptionState Id="OfficeDigitalSFiles" State="absent" Children="force" /> //v ba certificates -->
</Configuration> The procedure is same for all other editions of Office 2007 . The abov e is just a working sample, y ou'd need to put in an appropriate key & modify as per y our needs. If y ou downloaded a single SETUP.EXE (500-MB?) from MSDN, then y ou might need to ex tract it to some folder, to get the installation source. setup.ex e /ex tract:D:\o2k7

This post has been edited by prathapm l: 25 March 2007 - 08:04 PM

prathapml
Post ed 1 4 A pr il 2 0 0 6 - 1 1 :3 5 PM

My only beef with this v ersion (atleast in the current beta), is that there doesn't seem to be any way to disable creation of the LIS. (LIS = local installation source, its the s*** that y ou see in the name of an "MSOcache" folder littering any of y our HDD partitions at random). If the LIS was disabled by default, the installation time could be reduced by 3 minutes approx , besides sav ing HDD space (because the last 3 minutes consists of copy ing files from CD to the LIS). Here's what I'v e already tried in the config.x ml, but both failed: <LIS CA CHEACTION="REMOV ECA CHEONLY " /> <CDCA CHE V alue="0" /> In both cases, setup refuses to use the XML. Y es, I know that we could write a batch file to search all driv es for the "MSOcache" folder & delete it if found, but it would be ev en better to disable LIS, in the first place. Does any body know how to do this in o2k7 ?

RobertLouwen
Post ed 1 9 A pr il 2 0 0 6 - 0 7 :3 1 A M

Hello prathapml, Do y ou may be know a way to tell setup that I want a customized setup and keep my prev ious office 2003 installation ? Y our ex planation on editing config.x ml really worked for me ! Thank y ou v ery much ! Robert Louwen

clavicle
Post ed 1 9 A pr il 2 0 0 6 - 0 8 :2 0 A M

@prathapml Good one! This thread was really required (though I may be miles away from the new 2007 office v ersions).

http://www.msfn.org/board/topic/723…

4/11

5/27/2010 This thread was really required (though I may be miles away Fine… the new 2007 office v ersions). Office 2007, Unattended Setup & from Good one!
Keep it up!

prathapml
Post ed 1 9 A pr il 2 0 0 6 - 0 1 :4 1 PM

(http://www.msfn.org/board/index .php? s=2d2f1 5dd2c3447 0c40049442beb7 a7 d5&app=forums&module=forums&section=findpost&pid=495863) RobertLouwen, on Apr 1 9 2006, 07 :01 PM, said: Do y ou may be know a way to tell setup that I want a customized setup and keep my prev ious office 2003 installation ? Hi Robert, I believ e what y ou want to do, is to hav e access to all dialogs, y ou basically want to just customize the setup defaults & go ahead normally from there on. Here's how: Go to the 2nd line in my ex ample abov e. Y ou see "Display Lev el="none"". Change it back to "full" instead of "none". That is all.

@clav icle Thanks indeed. I just wish someone finds out how to disable the "MSOcache" facility in o2k7 .....

fizban2
Post ed 1 9 A pr il 2 0 0 6 - 0 5 :3 5 PM

V ery ex cellant post prathapml, glad to see an unattended way to do this finally try this tommorow at work was lookinf for a way and y ou beat me to it, i'll hav e to

rssfed23
Post ed 2 4 Ma y 2 0 0 6 - 0 9 :4 5 A M

Is there a way to install Office 2007 Beta 2 without it checking for prev ious v ersions - it wont let me install it because it say s I hav e prev ous v ersions installed which I dont

cjacob
Post ed 0 1 Ju n e 2 0 0 6 - 0 1 :3 6 A M

Hi there, after I found out, that I just hav e to ex ecute my OPPLUS-DE.EXE and grab the contents after unpacking from my temp dir befor cancelling the installation, I was able to alter the config.x ml file the way y ou suggested. ;-) Howev er, I still get a dialog window asking whether to install or to alter settings. Ev en with Display Lev el = "none". When I click install, the whole process takes place unattended as ex pected. When choosing to alter settings I see, that my changes in the config.x ml are working. A ny ideas why I still get this dialog? Regards, Chris.

http://www.msfn.org/board/topic/723…

5/11

5/27/2010

Office 2007, Unattended Setup & Fine…

vilasshewale
Post ed 0 1 Ju n e 2 0 0 6 - 0 4 :2 7 A M

[font=Tahoma][size=2] Can we change LIS location using Config.x ml?

midiboy
Post ed 0 2 Ju n e 2 0 0 6 - 0 3 :0 8 A M

Quote Howev er, I still get a dialog window asking whether to install or to alter settings. Ev en with Display Lev el = "none". When I click install, the whole process takes place unattended as ex pected. When choosing to alter settings I see, that my changes in the config.x ml are working. Hi! I hav e the same problem. The config.x ml is obv iously being used but I get the same dialog window. By the way ... is there a way to tell Office in the config.x ml to install A LL components, not just the default ones ? Thanks, A lex

cjacob
Post ed 0 2 Ju n e 2 0 0 6 - 0 3 :2 0 A M

I didn't find an option that automatically selects all av ailable features. Regarding the Dialog Window: I managed to create a script that can be integrated into an unattended setup to automatically click the button. The only problem is, that if y ou deploy Office 2007 with SMS 2003 for instance, the script won't work, since the gui will not be v isible to the user. A nd this is basically my problem,... I can't get it to work with SMS 2003. Howev er, here is the script: Dim objWSHShell, objEx ec Set objWSHShell = WScript.CreateObject("WScript.Shell") On Error Resume Nex t ' Wait for Uninstall ' -------------------------------------------------------------------------------Set objEx ec = objWSHShell.Ex ec("setup.ex e") WScript.Sleep 500 ' -------------------------------------------------------------------------------waitForWindow "Microsoft Office Professional Plus 2007 (Beta)" objWSHShell.SendKey s "{ENTER}" ' <install> WScript.Sleep 500 ' Wait for the setup to finish Do While objEx ec.Status = 0 WScript.Sleep 500 Loop

http://www.msfn.org/board/topic/723…

6/11

5/27/2010 ' Quit this script WScript.Quit

Office 2007, Unattended Setup & Fine…

' Waits until the window appears or quits after 30 seconds SUB waitForWindow( Title ) i=0 DO bA ctiv e = objWSHShell.A ppA ctiv ate( Title ) WScript.Sleep 1 000 i=i+1 LOOP UNTIL bA ctiv e = TRUE OR i > 30 WScript.Sleep 1 00 END SUB

midiboy
Post ed 0 2 Ju n e 2 0 0 6 - 0 9 :1 9 A M

Hi ! thanks for the script. Will try it soon ! Here´s an adapted config.x ml that will install EV ERY THING ex cept Japanese font and New/open document links.

<Configuration Product="Pro"> <Display Lev el="none" CompletionNotice="no" SuppressModal="y es" A cceptEula="y es" /> <PIDKEY Value="ENTER CODE" /> <USERNA ME V alue="0wner" /> <COMPA NY NA ME Value="0wn Inc." /> <OptionState Id="A CCESSFiles" State="local" Children="force" /> //access <OptionState Id="OUTLOOKFiles" State="local" Children="force" /> //outlook <OptionState Id="EXCELFiles" State="local" Children="force" /> //ex cel <OptionState Id="PubPrimary " State="local" Children="force" /> //publisher <OptionState Id="PPTFiles" State="local" Children="force" /> //Powerpoint <OptionState Id="A ceRepl" State="local" Children="force" /> //access db Engine replication <OptionState Id="CAGFiles" State="Local" Children="force" /> //Clip Organizer <OptionState Id="MSSOAP3" State="local" Children="force" /> //SOA P toolkit <OptionState Id="WISPFiles" State="local" Children="force" /> //handwriting <OptionState Id="DocServ icesFiles" State="local" Children="force" /> //docu update util <OptionState Id="HTMLSourceEditing" State="local" Children="force" /> //script editor <OptionState Id="DocumentImagingUtils" State="local" Children="force" /> //scanning,ocr,index ing <OptionState Id="OISFiles" State="local" Children="force" /> //picture manager <OptionState Id="OSESupp" State="local" Children="force" /> //sharepoint support <OptionState Id="Query Files" State="local" Children="force" /> //msQuery <OptionState Id="V isioPrev iewerFiles" State="local" Children="force" /> //v isio v iewer <OptionState Id="XDOCSFiles" State="local" Children="force" /> //infopath <OptionState Id="OsaNonBoot" State="absent" Children="force" /> //new,open office docu lnks </Configuration>

By e, A lex Hi again, mhh, if I start y our script with this line

http://www.msfn.org/board/topic/723…

7/11

5/27/2010 wscript "path.to\script.v bs"

Office 2007, Unattended Setup & Fine…

I get a Windows XP Setup message !! May be the path to the setup.ex e is wrong. I hav e found these lines Set FileSy sObj = CreateObject("Scripting.FileSy stemObject") ScriptPath = FileSy sObj.GetFile(WScript.ScriptFullName).ParentFolder

in some other script but they do not work in y our script (and I am not good at v bs scripting at all) MA y be something else is wrong too because the same thing happens if I double click on the v bs ... Thanks for y our help, A lex This post has been edited by m idiboy : 02 June 2006 - 09:31 A M

midiboy
Post ed 0 2 Ju n e 2 0 0 6 - 0 5 :0 0 PM

Hi again, I adapted some other script I found on the net. This one works for me: dim WshShell, iLoopTimeWait Set WshShell = CreateObject("WScript.Shell") iLoopTimeWait = 800 Set FileSy sObj = CreateObject("Scripting.FileSy stemObject") ScriptPath = FileSy sObj.GetFile(WScript.ScriptFullName).ParentFolder Cmd = Chr(34) & "setup.ex e" WshShell.Run Cmd Call Main() Set WshShell = Nothing WScript.quit() Sub Main() Connect2Window iLoopTimeWait, "Microsoft Office Professional Plus 2007 (Beta)" WshShell.SendKey s ("{ENTER}") End Sub Function Connect2Window(iTime, sWindowName) Do until WshShell.AppA ctiv ate (sWindowName) WScript.Sleep iTime loop End function

This post has been edited by m idiboy : 03 June 2006 - 05:45 A M

vilasshewale
Post ed 0 6 Ju n e 2 0 0 6 - 0 3 :4 6 A M

V ery ex cellant post prathapml,

http://www.msfn.org/board/topic/723…

8/11

5/27/2010 Office 2007, Unattended Setup & Fine… I recently installed Office 2007 on my machine and noticed that MSOCache folder is being created under my %HOMEDRIV E%. I went through ORK 2007 documentation and it suggestes that that location should be %PFiles%\Microsoft Office\Office 1 2\MSOCache.
prathapml, can I specify the LIS Location in config.x ml in a such way , whenev er setup will start cache it will cache only under dir mentioned in config.x ml. The config.x ml file y ou hav e prov ided is v ery useful. Howev er, I tried sev eral way s to prev ent A ccess and V isio installation using config.x ml. Though I successed the same using .MSP I would like to do the same using config.x ml. Can y ou please giv e me some tips on this? Thanks a lot. This post has been edited by v ilasshewale: 06 June 2006 - 03:49 A M

aelfwyne
Post ed 0 6 Ju n e 2 0 0 6 - 1 1 :1 1 A M

(http://www.msfn.org/board/index .php? s=2d2f1 5dd2c3447 0c40049442beb7 a7 d5&app=forums&module=forums&section=findpost&pid=493951 ) prathapml, on Apr 1 4 2006, 1 1 :1 1 A M, said: Option B: 1 . Go to the folder-path, "Office2007 \Pro.WW" 2. Modify "config.x ml", or copy it to somewhere else & modify it, using my posted code below as a sample. 3. If y ou modified it "in location", then setup will take up the changes automatically . 4. Otherwise, place the modified file in the same folder of setup.ex e, as PRO.XML 5. This is the command to run setup with the customizations specified in PRO.XML: setup.ex e /config pro.x m l I guess I'm clueless - all I hav e is the installer ex ecutable from Microsoft - could someone post a more detailed set of instructions for slipstreaming this? I ex tracted the installer with winrar, found a ProWW.cab... am I supposed to ex tract that too? A ll the other cabs? What do I do with them afterward? I'v e made installer CDs before with nlite, etc, but I am not familiar with the process here... there seem to be quite a few steps left out as "y ou should just know them".... I don't.

jeet
Post ed 0 7 Ju n e 2 0 0 6 - 0 3 :2 8 A M

i'm getting an error message: Setup could not find any av ailable products to install. Please contact y our sy stem administrator

Please help Regards, Jeet

cjacob
Post ed 0 8 Ju n e 2 0 0 6 - 0 1 :0 2 A M

aelfwy ne: Run the setup file with /ex tract:<PA TH> with <PA TH> being the path where y ou want the files to be copied to. A lso y ou can run the setup file with /? to v ie the possible parameters.

http://www.msfn.org/board/topic/723…

9/11

5/27/2010

Office 2007, Unattended Setup & Fine…

prathapml
Post ed 1 0 Ju n e 2 0 0 6 - 1 1 :2 9 A M

@midiboy : No need of V Bscripts, just use this command-line for fully silent install: setup.ex e /config pro.x ml

Y ou shud ex ecute this from y our SMS scripts or thru unattended batch-files. Note that modify ing the original config.x ml is sub-optimal, it'd be better to specify path to a *.XML file that y ou'v e created! A nd to others, well, LIS configuration eludes me as of now. A nd y es, i did forget to mention that y ou need to run setup & when the first screen shows, grab the ex tracted files from y our %temp%. A nd here's a link to some info that MS has now put up, for ev ery one to access http://www.microsoft...eta/deploy .mspx (http://www.microsoft.com/office/prev iew/beta/deploy .mspx )

midiboy
Post ed 1 5 Sept em ber 2 0 0 6 - 0 2 :1 7 A M

Hi guy s, has any one found a way to integrate the Technical refresh into the Office 2007 installation base ? If the TR is run, it ex pands a bunch of msp files into the temp folder. Howev er, those msp files do not directly correspond with the installation msi files ex cept for the ProWW.msp so I don´t know which msp I should be running against which msi. edit: Running an msiex ec /p ProWW.msp /a ProWW.msi does not work at all. The process quits right at the beginning. Has any one found a solution y et ? Thanks, A lex This post has been edited by m idiboy : 1 5 September 2006 - 03:01 A M

(1 6 Pages) 1 2 3 → Last »

Explore Content

Office 2007 Silent Install Office 2007 Word 2007 Tutorials
MSFN Office Forum Unattended Setup Unattended Setup Time Constraints Office 07 Philips LCD Monitors 2007 USB Winsetupfromusb Windows Product Key Downloading USB Multiboot Dictionary Definitions Nvidia Ahci Driver
Download Office 2000
http://www.msfn.org/board/topic/723…
Adobe Reader

10/11

5/27/2010

Office 2007, Unattended Setup & Fine…

Time Now: May 27 2010 12:55 AM

MSFN Links
Un a t t en ded CD/DV D Gu ide Ser v er 2 0 0 3 t o W or k st a t ion Ser v er 2 0 0 8 t o W or k st a t ion MSFN Fr on t pa g e

Forum Navigation
Ba ck t o t op For u m Hom e Delet e My Cook ies Ma r k Boa r d A s Rea d

Recommendations
Boot La n d Y ou r Lin k Her e Y ou r Lin k Her e Y ou r Lin k Her e

Skin and A ll t r a dem a r ks m en t ion ed on t h is pa g e a r e t h e pr oper t y of t h eir r espect iv e ow n er s MSFN is n ot a ffilia t ed w it h Micr osoft Language Copy r ig h t © 2 0 0 1 -2 0 1 0 m sfn .or g Sk in by Min er skin z Th em e: Ch oose Pr iv a cy Policy y ou r ski n
MSFN
La n g u a g e:

http://www.msfn.org/board/topic/723…

11/11

Sign up to vote on this title
UsefulNot useful