Help - Search - Members - Calendar
Full Version: Office 2007, Unattended Setup & Fine-tuning
MSFN Forums > Microsoft Software Products - Discussion & Support > Microsoft Office 97/2000/2002-XP/2003/2007
Pages: 1, 2, 3, 4, 5, 6

   
Google Internet Forums Unattended CD/DVD Guide
prathapml
(updated to reflect final RTM version)

Unattending or silently installing MS Office System, has now become easier than ever. There are two ways to unattend your setup:
--> Option A (use it only if you got Office2007 thru SoftwareAssurance, which comes with activation stripped out).
--> Option B is for all the others (retail/OEM/academic/trial/etc). Both are colored differently below.


Option A:
1. Ensure you have an actual VLK (some call it enterprise/corporate) disc & product-key.
2. Notably, o2k7 uses setup patches (*.MSP) for uA, rather than transforms which previous versions used (*.MST). The below instructions will give you an MSP file, which is not accepted by non-corporate versions of o2k7. If you ignored point1 above, then you will end up wasting 15 minutes of your life which I'm not responsible for.
3. Now at the command prompt, type: setup.exe /admin
4. Choose the product for which you want to make a customization-patch.
5. Then go through all steps in the customization wizard (to install the reqd apps & remove junk & change default settings).
6. Be sure to have "completion notice" turned on & "suppress modals" turned off (this is to get to see errors, if any exist). Once you're done with testing, go thru the customization again to modify the MSP to disable completion notice & enable suppress modals.
7. Save the resulting patch file in the same folder as o2k7 setup files.
8. Now just execute this command (thru any method) for silent install: setup.exe /adminfile CUSTOM.MSP

Or if you have the Office 2007 Enterprise VLK, you could even drop the CUSTOM.MSP file in the "Updates" folder & setup will pick it up automatically (without any switches being used). For this, ensure you have WindowsInstaller 3.1 already installed. You can add in further MSP files (extracted from SP1 update EXE) as well, to have updates applied during install.

*** For completely silent install, you MUST set the DisplayLevel to "none", either by MSP (accessible from step 6 above) or by xml, otherwise you'll get a confirmation dialog similar to the image shown in attachment below. (do this only AFTER testing, when you're sure it works)

Click to view attachment
prathapml
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.xml", or copy it to somewhere else & modify it, using my posted code below as a sample.
3. If you modified it "in location", then setup will take up the changes automatically.
4. Otherwise, place the modified file in the same folder of setup.exe, as custom-uA.XML
5. This is the command to run setup with the customizations specified in custom-uA.XML: setup.exe /config custom-uA.XML

7. This method is also a great way to make changes to the defaults itself, so that you dont need to keep changing it upon every new time you 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 721 MB, to 303 MB (of course you can always add/remove components later); I've also removed lines that I found useless from it, you might like to keep many of the default lines & customize them. Also, be aware that the XML offers a way to chain updates & install them before or after o2k7 setup, but then you'll lose control over reboot parameters. By default, o2k7 setup wont cause an auto-reboot, so no need of "/noreboot" or "Reboot=ReallySuppress" properties. I intend this XML to be used for clean installs, with no previous version settings or profiles to be migrated. Use "start /wait" for silent installs. This file is for the main suite, you can modify it accordingly for the other component products, the options are commented with double-slashes. I obtained the OptionIds from setup.xml files, in each component folder.


Here's a tested/working config.xml file, to get you started with Option B:
(you need to put in your own key, and configuration-Product can be obtained from your current xml)
CODE
<Configuration Product="Pro">

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

<PIDKEY Value="BCDFGHJKMPQRTVWXY2346789B" />
<USERNAME Value="0wner" />
<COMPANYNAME Value="0wn Inc." />


<OptionState Id="ACCESSFiles" State="absent" Children="force" /> //access
<OptionState Id="OUTLOOKFiles" State="absent" Children="force" /> //outlook
<OptionState Id="PubPrimary" State="absent" Children="force" /> //publisher
<OptionState Id="AceRepl" State="absent" Children="force" /> //access db Engine replication
<OptionState Id="CAGFiles" State="Local" Children="force" /> //Clip Organizer
<OptionState Id="MSSOAP3" State="absent" Children="force" /> //SOAP toolkit
<OptionState Id="OsaNonBoot" State="Local" Children="force" /> //new,open office docu lnks
<OptionState Id="ProofingTools_1036" State="absent" Children="force" /> //french
<OptionState Id="ProofingTools_3082" State="absent" Children="force" /> //spanish
<OptionState Id="WISPFiles" State="absent" Children="force" /> //handwriting
<OptionState Id="DocServicesFiles" 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,indexing
<OptionState Id="OISFiles" State="absent" Children="force" /> //picture manager
<OptionState Id="OSESupp" State="absent" Children="force" /> //sharepoint support
<OptionState Id="QueryFiles" State="absent" Children="force" /> //msQuery
<OptionState Id="VisioPreviewerFiles" State="absent" Children="force" /> //visio viewer
<OptionState Id="XDOCSFiles" State="absent" Children="force" /> //infopath

<!-- These are additionals from Enterprise RTM
<OptionState Id="GrooveFiles" State="absent" Children="force" /> //groove
<OptionState Id="OneNoteFiles" State="absent" Children="force" /> //onenote
<OptionState Id="RefIEBarFiles" State="absent" Children="force" /> //research explorer bar
<OptionState Id="WebDriveFiles" State="absent" Children="force" /> //hosted webs
<OptionState Id="VBAFiles" State="absent" Children="force" /> //VB for applications
<OptionState Id="OfficeDigitalSFiles" State="absent" Children="force" /> //vba certificates
-->

</Configuration>
The procedure is same for all other editions of Office 2007. The above is just a working sample, you'd need to put in an appropriate key & modify as per your needs.


If you downloaded a single SETUP.EXE (500-MB?) from MSDN, then you might need to extract it to some folder, to get the installation source.
CODE
setup.exe /extract:D:\o2k7
prathapml
My only beef with this version (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 you see in the name of an "MSOcache" folder littering any of your HDD partitions at random).

If the LIS was disabled by default, the installation time could be reduced by 3 minutes approx, besides saving HDD space (because the last 3 minutes consists of copying files from CD to the LIS).

Here's what I've already tried in the config.xml, but both failed:
CODE
<LIS CACHEACTION="REMOVECACHEONLY" />
CODE
<CDCACHE Value="0" />
In both cases, setup refuses to use the XML.

Yes, I know that we could write a batch file to search all drives for the "MSOcache" folder & delete it if found, but it would be even better to disable LIS, in the first place. Does anybody know how to do this in o2k7?
sad.gif
RobertLouwen
Hello prathapml,

Do you maybe know a way to tell setup that I want a customized setup and keep my previous office 2003 installation ?

Your explanation on editing config.xml really worked for me !

Thank you very much !

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

Keep it up!
prathapml
QUOTE (RobertLouwen @ Apr 19 2006, 07:01 PM) *
Do you maybe know a way to tell setup that I want a customized setup and keep my previous office 2003 installation ?
Hi Robert,
I believe what you want to do, is to have access to all dialogs, you basically want to just customize the setup defaults & go ahead normally from there on.

Here's how:
Go to the 2nd line in my example above. You see "Display Level="none"". Change it back to "full" instead of "none". That is all.



@clavicle
Thanks indeed. smile.gif I just wish someone finds out how to disable the "MSOcache" facility in o2k7.....
fizban2
Very excellant post prathapml,
glad to see an unattended way to do this finally smile.gif was lookinf for a way and you beat me to it, i'll have to try this tommorow at work
rssfed23
Is there a way to install Office 2007 Beta 2 without it checking for previous versions - it wont let me install it because it says I have prevous versions installed which I dont
cjacob
Hi there,

after I found out, that I just have to execute 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.xml file the way you suggested. ;-)

However, I still get a dialog window asking whether to install or to alter settings. Even with Display Level = "none". When I click install, the whole process takes place unattended as expected. When choosing to alter settings I see, that my changes in the config.xml are working.

Any ideas why I still get this dialog?

Regards,
Chris.
vilasshewale
[font=Tahoma][size=2]
Can we change LIS location using Config.xml?
midiboy
QUOTE
However, I still get a dialog window asking whether to install or to alter settings. Even with Display Level = "none". When I click install, the whole process takes place unattended as expected. When choosing to alter settings I see, that my changes in the config.xml are working.


Hi!

I have the same problem. The config.xml is obviously being used but I get the same dialog window.

By the way ... is there a way to tell Office in the config.xml to install ALL components, not just the default ones ?

Thanks,
Alex
cjacob
I didn't find an option that automatically selects all available 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 you deploy Office 2007 with SMS 2003 for instance, the script won't work, since the gui will not be visible to the user. And this is basically my problem,... I can't get it to work with SMS 2003.

However, here is the script:
CODE
Dim objWSHShell, objExec
Set objWSHShell = WScript.CreateObject("WScript.Shell")

On Error Resume Next

' Wait for Uninstall
' --------------------------------------------------------------------------------
Set objExec = objWSHShell.Exec("setup.exe")
WScript.Sleep 500

' --------------------------------------------------------------------------------
waitForWindow "Microsoft Office Professional Plus 2007 (Beta)"
objWSHShell.SendKeys "{ENTER}"    ' <install>
WScript.Sleep 500

' Wait for the setup to finish
Do While objExec.Status = 0
    WScript.Sleep 500
Loop


' Quit this script
WScript.Quit

' Waits until the window appears or quits after 30 seconds
SUB waitForWindow( Title )
    i = 0
    DO
        bActive = objWSHShell.AppActivate( Title )
    WScript.Sleep 1000
        i = i + 1
    LOOP UNTIL bActive = TRUE OR i > 30
    WScript.Sleep 100
END SUB
midiboy
Hi !

thanks for the script. Will try it soon !

Hereīs an adapted config.xml that will install EVERYTHING except Japanese font and New/open document links.


CODE
<Configuration Product="Pro">

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

<PIDKEY Value="ENTER CODE" />
<USERNAME Value="0wner" />
<COMPANYNAME Value="0wn Inc." />


<OptionState Id="ACCESSFiles" State="local" Children="force" /> //access
<OptionState Id="OUTLOOKFiles" State="local" Children="force" /> //outlook
<OptionState Id="EXCELFiles" State="local" Children="force" /> //excel
<OptionState Id="PubPrimary" State="local" Children="force" /> //publisher
<OptionState Id="PPTFiles" State="local" Children="force" /> //Powerpoint
<OptionState Id="AceRepl" State="local" Children="force" /> //access db Engine replication
<OptionState Id="CAGFiles" State="Local" Children="force" /> //Clip Organizer
<OptionState Id="MSSOAP3" State="local" Children="force" /> //SOAP toolkit
<OptionState Id="WISPFiles" State="local" Children="force" /> //handwriting
<OptionState Id="DocServicesFiles" 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,indexing
<OptionState Id="OISFiles" State="local" Children="force" /> //picture manager
<OptionState Id="OSESupp" State="local" Children="force" /> //sharepoint support
<OptionState Id="QueryFiles" State="local" Children="force" /> //msQuery
<OptionState Id="VisioPreviewerFiles" State="local" Children="force" /> //visio viewer
<OptionState Id="XDOCSFiles" State="local" Children="force" /> //infopath

<OptionState Id="OsaNonBoot" State="absent" Children="force" /> //new,open office docu lnks
</Configuration>


Bye,
Alex


Hi again,

mhh, if I start your script with this line

CODE
wscript "path.to\script.vbs"


I get a Windows XP Setup message !! Maybe the path to the setup.exe is wrong. I have found these lines

CODE
Set FileSysObj = CreateObject("Scripting.FileSystemObject")
ScriptPath = FileSysObj.GetFile(WScript.ScriptFullName).ParentFolder


in some other script but they do not work in your script (and I am not good at vbs scripting at all) tongue.gif MAybe something else is wrong too because the same thing happens if I double click on the vbs ...

Thanks for your help,
Alex
midiboy
Hi again,

I adapted some other script I found on the net. This one works for me:

CODE
dim WshShell, iLoopTimeWait
Set WshShell = CreateObject("WScript.Shell")
iLoopTimeWait = 800
Set FileSysObj = CreateObject("Scripting.FileSystemObject")
ScriptPath = FileSysObj.GetFile(WScript.ScriptFullName).ParentFolder

Cmd = Chr(34) & "setup.exe"
WshShell.Run Cmd

Call Main()

Set WshShell = Nothing
WScript.quit()


Sub Main()
  Connect2Window iLoopTimeWait, "Microsoft Office Professional Plus 2007 (Beta)"
WshShell.SendKeys ("{ENTER}")
End Sub


Function  Connect2Window(iTime, sWindowName)
  Do until WshShell.AppActivate (sWindowName)
     WScript.Sleep iTime
  loop
End function
vilasshewale
Very excellant post prathapml,

I recently installed Office 2007 on my machine and noticed that MSOCache folder is being created under my %HOMEDRIVE%. I went through ORK 2007 documentation and it suggestes that that location should be %PFiles%\Microsoft Office\Office 12\MSOCache.

prathapml, can I specify the LIS Location in config.xml in a such way, whenever setup will start cache it will cache only under dir mentioned in config.xml.

The config.xml file you have provided is very useful. However, I tried several ways to prevent Access and Visio installation using config.xml. Though I successed the same using .MSP I would like to do the same using config.xml. Can you please give me some tips on this?

Thanks a lot.
aelfwyne
QUOTE (prathapml @ Apr 14 2006, 11:11 AM) *
Option B:
1. Go to the folder-path, "Office2007\Pro.WW"
2. Modify "config.xml", or copy it to somewhere else & modify it, using my posted code below as a sample.
3. If you modified it "in location", then setup will take up the changes automatically.
4. Otherwise, place the modified file in the same folder of setup.exe, as PRO.XML
5. This is the command to run setup with the customizations specified in PRO.XML: setup.exe /config pro.xml


I guess I'm clueless - all I have is the installer executable from Microsoft - could someone post a more detailed set of instructions for slipstreaming this? I extracted the installer with winrar, found a ProWW.cab... am I supposed to extract that too? All the other cabs? What do I do with them afterward?

I've 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 "you should just know them".... I don't.
jeet
i'm getting an error message:

CODE
Setup could not find any available products to install. Please contact your system administrator



Please help

Regards,
Jeet
cjacob
aelfwyne: Run the setup file with /extract:<PATH> with <PATH> being the path where you want the files to be copied to. Also you can run the setup file with /? to vie the possible parameters.
prathapml
@midiboy:
No need of VBscripts, just use this command-line for fully silent install:
CODE
setup.exe /config pro.xml


You shud execute this from your SMS scripts or thru unattended batch-files. Note that modifying the original config.xml is sub-optimal, it'd be better to specify path to a *.XML file that you've created!

And to others, well, LIS configuration eludes me as of now. sad.gif
And yes, i did forget to mention that you need to run setup & when the first screen shows, grab the extracted files from your %temp%.

And here's a link to some info that MS has now put up, for everyone to access - http://www.microsoft.com/office/preview/beta/deploy.mspx
midiboy
Hi guys,

has anyone found a way to integrate the Technical refresh into the Office 2007 installation base ? If the TR is run, it expands a bunch of msp files into the temp folder. However, those msp files do not directly correspond with the installation msi files except for the ProWW.msp so I donīt know which msp I should be running against which msi.

edit: Running an msiexec /p ProWW.msp /a ProWW.msi does not work at all. The process quits right at the beginning.

Has anyone found a solution yet ?

Thanks,
Alex
pawan
Beta2 TR1 is larger than Beta 2. Integration will surely be great and will consume less space, now its take around 900 MB (Both files).

Pawan
/.er
This may seem jarbled, please just accept it.

Hello everyone, quick question. It’s nearly time to do a fresh install of XP, but Office 2007 Beta 2 /TR is proving to be problematic. [I don’t want ot burn them both to separate disks, lose them and find them again, and just waste perfectly good CDs] For some reason, if I choose to customize the install and remove the programs that I don’t want/need [I only use Word & Excel, and I do my PowerPoint in HTML, and Chandler is quite acceptable as an Outlook replacement] the setup has a heart attack and just dies. I’m left with two five hundred megabyte files [B2 + TR] and I only use two programs. Anyways, is there a way to merge both the beta and refresh files, and strip out the files for all the programs I don’t need [which are Access, Infopath, Publisher, Outlook, and PowerPoint] and just keep the Word/Excel files?

Yes, I could just use StarOffice 8, or OpenOffice.Org for that matter, but I’m in love with the ribbon, and I actually do like M$ on some levels. Someone please help me?
Cybertronic
Is there a solution to configure a customised version of Office 2007 Beta 2 Technical Refresh?

I'm just being curious because when you extract the files, the extracted files is different to the previous beta and as mentioned above, is bigger in size overall.

As far as I know, there's only a silent application install but no such file to allow customisation. Please let me know if there is any! smile.gif
prathapml
There's no way to cut down files from this version, yet.
And there's no way i found to merge the TR into B2. Just gotta install B2 using the customisation methods above, & then just run all the *.MSP files contained in B2TR, one-by-one.

In either case, off2007 final should be out anytime now.
#rootworm
it's been out newwink.gif

big thanks for the thread prathapml.

here are some settings i added to your XML for Enterprise:

CODE
<OptionState Id="GrooveFiles" State="absent" Children="force" /> //groove
<OptionState Id="OneNoteFiles" State="absent" Children="force" /> //onenote
<OptionState Id="RefIEBarFiles" State="absent" Children="force" /> //research explorer bar
<OptionState Id="WebDriveFiles" State="absent" Children="force" /> //hosted webs
<OptionState Id="VBAFiles" State="absent" Children="force" /> //VB for applications
<OptionState Id="OfficeDigitalSFiles" State="absent" Children="force" /> //vba certificates


i also attached a little exe that executes this: setup.exe /config custom.xml
(so be sure to name your config file custom.xml and place it beside the exe if you use it)

it's 88k because 79k of it is all 10 icons from the original setup.exe, windows chooses the appropriate icon size & color depth automatically. i think there's also a 256x256x24bit vista icon, and even though i can't test it, should work fine.

so now i run custom.exe to install the slimmed down version, or regular setup.exe to install/customize the full version.

you can decompile the exe with my ExeScript decompiler at http://www.msfn.org/board/index.php?showtopic=86493 to confirm what it does
prathapml
Thanks for the work!

btw, the "Option A" method is easier & works with (RTM - final) Office 2007 Enterprise now.
You could even drop the unattended-custom.MSP file in the "Updates" folder & setup will pick it up automatically.










If only someone found how to disable the local installation source ( the useless MSOcache folder ).......
sk8er_boi
QUOTE (prathapml @ Nov 13 2006, 03:02 AM) *
Thanks for the work!

btw, the "Option A" method is easier & works with (RTM - final) Office 2007 Enterprise now.
You could even drop the unattended-custom.MSP file in the "Updates" folder & setup will pick it up automatically.










If only someone found how to disable the local installation source ( the useless MSOcache folder ).......



Yeah update folder is a nice option. But u must have 1.4gb's of free space to install.
elajua
its great that MS now comes with this "edit all the tons of features in office". This way we can forge to import custom settings and other annoyances. Just complete the confguration wizard using option A and thats all.

Doing it right now, will post results. thanks for the info.
stavpal
How can I create unattended setup of Office 2007 as an ugrade of office 2003? (and slipstreaming it in a windows 2003 r2 dvd)

Thanks in advance
fizban2
QUOTE
If only someone found how to disable the local installation source ( the useless MSOcache folder ).......


sadly you can't get rid of the local installation folder as it is needed now, since administrative installation points have gone away. local installation files will always be generated for the installation.
prathapml
QUOTE (stavpal @ Nov 16 2006, 07:21 PM) *
How can I create unattended setup of Office 2007 as an ugrade of office 2003? (and slipstreaming it in a windows 2003 r2 dvd)
Creating unattended setup is described in my first post in this topic.
By default, o2k7 will upgrade o2k3.
And to slip-stream (or rather, install o2k7 with svr2k3R2) read the MSFN unattended guide.


QUOTE (fizban2 @ Nov 16 2006, 08:40 PM) *
sadly you can't get rid of the local installation folder as it is needed now, since administrative installation points have gone away. local installation files will always be generated for the installation.
I read about it, but clearly LIS is not that much an essential part. Right since the office 2000 days, i've always been led to believe that the LIS is on the hard-disk for the purpose of re-install/repair-install/etc.
And its the same case even now, because setup installs o2k7 completely, then makes the MSOcache folder, & then exits. So it has no part to play in 1st-install, and I see no need for any repairs, considering that any install-problems on our systems will be fixed by a restore of original disk-image.

I'm going to be forced to edit the CUSTOM.MSP to add a post-install task - a CMD script to search all writable partitions for the folder named MSOcache & if found, remove it!
elajua
i think that 5xx mb are not much of a space eater. and its saves people a lot of problems with the modify/repair. for me, im letting the folder as it is.

windows should have a function to "completely hide" a folder/archive so it doesnt display it, not even when turning off hide hidden files. this way we can hide many things that are annoying like SYSTEMTOOLS folder of diskeeper.
prathapml
590 MB definitely is a space eater.
Especially, when i deliberately create a C: partition of only 7.5 GB to hold only the most important parts of the system - OS & basic apps alone - all else to other partition. (& i have a 500 GB HDD).

Moreover, its not about "space occupied" - its about unnecessary junk that you KNOW will NEVER be used.
MAVERICKS CHOICE
Don't know if possible but can all other Lang be trimmed from the Admin dir?
Its around 26 meg & the Eng dir is only 2 meg. Really like to trim this one.
elajua
QUOTE (prathapml @ Nov 17 2006, 03:52 AM) *
590 MB definitely is a space eater.
Especially, when i deliberately create a C: partition of only 7.5 GB to hold only the most important parts of the system - OS & basic apps alone - all else to other partition. (& i have a 500 GB HDD).

Moreover, its not about "space occupied" - its about unnecessary junk that you KNOW will NEVER be used.


i agree. i just mentioned that the modify/repair functionality is a saver for "average" people. personally i dont like to have any unnecessary stuff in my system so when a solution come out i will use it. but when people call me and say: "i tried to open x document but the program crashed..." well, its easy to tell them just to repair the installation. it saves me a lot of trips to install it over again.
pdmcmahon
Trying to force the Local Installation Source to be put in a different location. Does anyone know how to do this?
ZileXa
Would it be possible to shrink Office2007?
I have been using an unattended shrinked Office2003, 60MB (still using CD, since there are still a lot of computers without DVD). So I am hoping I will be able to shrink 2007 as well smile.gif
prathapml
I would like to shrink it too.
And eliminate the LIS as well! (MSOcache)
MagicAndre1981
Any Ideas how to start?
rado354
I hope you guys will soon find a way to get rid of the MSOcache folder because it's so annoying.

And some GUI tool for Office Shrink would be nice too tongue.gif

Until then, I stay with Office XP.
prathapml
Theoretically, modifying Office-Shrink for o2k7 wont be very difficult, but then the auto-it sources are encrypted....
Pgase
...
prathapml
QUOTE (Pgase @ Nov 29 2006, 12:17 PM) *
It is possible to remove auto-reboot process after silent install ??
Yes you can specify that when you're making the MSP file for unattending.
Pgase
...
RobCash
I'm trying to install Office Enterprise 2007 in my AD environment via Group Policy.

Office 2003 was manually installed before I got here, so I don't have a Group Policy to upgrade.

On some test machines, when I push Office 2007, it installs next to Office 2003, not over top, or as an upgrade. This is totally not the desired affect.

Here's my config.xml file...

QUOTE
<Configuration Product="Enterprise">

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

<!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Enterprise Setup(*).txt" /> -->

<PIDKEY Value="XXXXXXXXXXXXXXXXXX" />

<USERNAME Value="XXXXXXX" />

<COMPANYNAME Value="XXXXXXXX" />

<INSTALLLOCATION Value="%programfiles%\Microsoft Office" />

<!-- <LIS CACHEACTION="CacheOnly" /> -->

<SOURCELIST Value="\\XXXXXXXX\Microsoft\Office Enterprise 2007\Install" />

<!-- <DistributionPoint Location="\\server\office" /> -->

<OptionState Id="ACCESSFiles" State="Local" Children="force" /> //access
<OptionState Id="OUTLOOKFiles" State="Local" Children="force" /> //outlook
<OptionState Id="PubPrimary" State="Local" Children="force" /> //publisher
<OptionState Id="AceRepl" State="absent" Children="force" /> //access db Engine replication
<OptionState Id="CAGFiles" State="Local" Children="force" /> //Clip Organizer
<OptionState Id="MSSOAP3" State="absent" Children="force" /> //SOAP toolkit
<OptionState Id="OsaNonBoot" State="Local" Children="force" /> //new,open office docu lnks
<OptionState Id="ProofingTools_1036" State="absent" Children="force" /> //french
<OptionState Id="ProofingTools_3082" State="absent" Children="force" /> //spanish
<OptionState Id="WISPFiles" State="Local" Children="force" /> //handwriting
<OptionState Id="DocServicesFiles" 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,indexing
<OptionState Id="OISFiles" State="absent" Children="force" /> //picture manager
<OptionState Id="OSESupp" State="Local" Children="force" /> //sharepoint support
<OptionState Id="QueryFiles" State="Local" Children="force" /> //msQuery
<OptionState Id="VisioPreviewerFiles" State="Local" Children="force" /> //visio viewer
<OptionState Id="XDOCSFiles" State="Local" Children="force" /> //infopath
<OptionState Id="GrooveFiles" State="Local" Children="force" /> //groove
<OptionState Id="OneNoteFiles" State="Local" Children="force" /> //onenote
<OptionState Id="RefIEBarFiles" State="absent" Children="force" /> //research explorer bar
<OptionState Id="WebDriveFiles" State="absent" Children="force" /> //hosted webs
<OptionState Id="VBAFiles" State="absent" Children="force" /> //VB for applications
<OptionState Id="OfficeDigitalSFiles" State="absent" Children="force" /> //vba certificates

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

<!-- <Command Path="msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->

</Configuration>



Another question, if I have a .msp file in the updates folder, does that get applied when installing from the Enterpriseww.msi file via group policy?
lol69002
QUOTE (Pgase @ Nov 29 2006, 07:47 AM) *
It is possible to remove auto-reboot process after silent install ??


"start /wait setup.exe /adminfile custom.msp"........no reboot!!!
grunz
QUOTE (RobCash @ Nov 29 2006, 05:24 PM) *
I'm trying to install Office Enterprise 2007 in my AD environment via Group Policy.

Office 2003 was manually installed before I got here, so I don't have a Group Policy to upgrade.

On some test machines, when I push Office 2007, it installs next to Office 2003, not over top, or as an upgrade. This is totally not the desired affect.



I'm experiencing exactly the same issue when installing through group policies. i've even checked the option to remove the previous version before installing the new one, and used the gpo-option to replace a previous package (office 2003) but that doesn't seem to work at all. all office 2003 shortcuts remain active, and after clicking one of them, it starts the windows installer to reinstall or repair office 2003. after that process finished, the coresponding application, e.g. word 2003 starts up normally, but word 2007 is also available.... any idea how to get rid of office 2003 during the upgrade?
savage1
QUOTE (prathapml @ Apr 14 2006, 11:22 AM) *
Unattending or silently installing MS Office System, has now become easier than ever.

First, you fetch yourself the version of Office that you want from Microsoft Connect. Two versions are available currently, both being Beta1 Technical-Refresh - either the ProPlus (core apps only, 441 MB) or the Enterprise (core+other+server, 1.08 GB).

Then, there are two ways to unattend your setup. Option A (use it only if you got Office12 thru SoftwareAssurance, which comes with activation stripped out). Option B is for all the others (retail/OEM/academic/etc). Both are colored differently below.


Option A:
1. Ensure you have WindowsInstaller 3.1 already installed.
2. Ensure you have an actual enterprise/corporate CD & CD-key (which wont need activation).
3. Notably, o2k7 uses setup patches (*.MSP) rather than transforms which previous versions used (*.MST). The below instructions will give you an MSP file, which is not accepted by non-corporate versions of o2k7. If you ignored point2 above, then you will end up wasting 15 minutes of your life which I'm not responsible for.
4. Now at the command prompt, type: setup.exe /admin
5. Choose the product for which you want to make a customization-patch.
6. Then go through all steps in the customization wizard (to install the reqd apps & remove junk & change default settings).
7. Be sure to have "completion notice" turned on & "suppress modals" turned off (this is to get to see errors, if any exist). Once you're done with testing, go thru the customization again to modify the MSP to disable completion notice & enable suppress modals.
8. Save the resulting patch file in the same folder as o2k7 setup files.
9. Now just execute this command (thru any method) for silent install: setup.exe /adminfile CUSTOM.MSP


NEWS-FLASH!
If you have the final Enterprise release of Office 2007, then Option A works flawlessly.
You could even drop the CUSTOM.MSP file in the "Updates" folder & setup will pick it up automatically (without any switches being used).



I was wondering if this method works for Proplus. I have put the .msp file in the updates folder and when I go to deploy it to a test machine it starts to install office but quickly comes to the ctrl-alt-del then when I log in to check it only installs the office folder. No word excel etc. jsut like image scanner and one other office tool. any thoughts on this?
elajua
QUOTE
I was wondering if this method works for Proplus. I have put the .msp file in the updates folder and when I go to deploy it to a test machine it starts to install office but quickly comes to the ctrl-alt-del then when I log in to check it only installs the office folder. No word excel etc. jsut like image scanner and one other office tool. any thoughts on this?


have you tried to launch the setup with setup.exe /adminfile yourfile.msp?
im using this way and is working great. i have now deploy it to about 5 machines and all went fine.
CranialBlaze
I almost successfully completed the unattended install, but am wondering what option i need to set to make it completely silent, i still have the option window were it says install and customize.

Thanks for the info and assistance
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.