+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Office Software Thread, Deploying via GPO in Technical; I've followed the instructions as per: Use Group Policy Software Installation to deploy the 2007 Office system however the machines ...
  1. #1

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Deploying via GPO

    I've followed the instructions as per:

    Use Group Policy Software Installation to deploy the 2007 Office system

    however the machines are complaining they can't find the config.xml. Even though it's in the same folder as the msi. Any ideas what I've done wrong....?

  2. #2

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,800
    Thank Post
    1,294
    Thanked 1,659 Times in 1,112 Posts
    Blog Entries
    22
    Rep Power
    507
    Just to check the obvious things.

    1) You specified a UNC path to both the msi and config.xml in the GPO.
    2) The config.xml is located with the main msi and not a subfolder.

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Using UNC paths. Added the MSI to the GPO. The config.xml is in the same folder as the MSI.

    Where do I add the config.xml to the GPO? I thought it just had to be in the same folder as the MSI for it to be picked up?

  4. #4

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,800
    Thank Post
    1,294
    Thanked 1,659 Times in 1,112 Posts
    Blog Entries
    22
    Rep Power
    507
    Quote Originally Posted by Geoff View Post
    Where do I add the config.xml to the GPO? I thought it just had to be in the same folder as the MSI for it to be picked up?
    Ah sorry you are correct, I was thinking of an .mst

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Heres the error message in the Event Log.

    Code:
    Product: Microsoft Office Enterprise 2007 -- Error 25004. Config.Xml not specified; A valid config.xml file must be authored when deploying 'ENTERPRISE'.
    
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

  6. #6

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,800
    Thank Post
    1,294
    Thanked 1,659 Times in 1,112 Posts
    Blog Entries
    22
    Rep Power
    507
    Hmm it could be that your xml is not valid?

    Does it conform to the guide here?

    Could be something silly like...a space at the end of the file? Spelling mistake in a tag name?

  7. #7

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    not what you want to hear, but when I did it (nov 2007) it just worked. 98% of the time. On a number of occasions it would stop a % of the way through with some error I cant remember, and would just refuse to install, and I had to do them from the setup.exe instead.

    I copied the entire dvd to a share, edited the xml with the serial number (no - seperating), added the enterpriseww.msi in the gpo, applied the gpo to the relevent OU, and away it went.

    I had real problems getting it to upgrade from 2003 though via GPO, I had to run a script to uninstall 2003 first and then install 07. And IIRC, there was a problem with outlook not installing, but we didnt use it anyway so I didnt really pay attention.

    (Maybe Try it on a single machine, running the setup.exe file from the share - if your .xml is OK it will install fine)

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    OK I've redone my xml file from scratch. Just uncommenting and setting the product key section. When I run setup.exe I get prompted for a product key.

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    When assigned via GPO I now get this error:

    Code:
    The install of application Microsoft Office Enterprise 2007 from policy Office 2007 SP2 (Install Only) failed.  The error was : Fatal error during installation.

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    The machine I'm testing on has Office 2k3 on it. So I had to add the Office 2k3 as a Upgradable GPO using the remove and install option.

  11. #11

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    Quote Originally Posted by Geoff View Post
    The machine I'm testing on has Office 2k3 on it. So I had to add the Office 2k3 as a Upgradable GPO using the remove and install option.
    You sorted?

    The machines I was deploying to, 2003 had been installed manually on so I couldnt use gpo to get rid of 2003.

    Also I was deploying the rtm 2007 before any Service packs, I just let wsus take care of the updates as I had read that it wasnt possible to slipstream sp1, and I left before sp2 was released

  12. #12

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Possibly. I need to test on a clean machine too, which is currently imaging, so I'll update the thread with those results.

    The SP2 update went on fine. Even so, WSUS is madly patching up the machine, there's quite a few post SP2 updates!

  13. #13
    SDM01's Avatar
    Join Date
    Sep 2009
    Posts
    24
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by RabbieBurns View Post
    I had real problems getting it to upgrade from 2003 though via GPO, I had to run a script to uninstall 2003 first and then install 07.

    I have deployed office 07 via gpo over the summer and would say around 95% worked. I must admit that i didn't remove office 03 first (my bad )

    Can I ask Rabbie what script you used to remove office 03?

    I have removed a couple of office 03's manually (just to see what happened after the deployment of office 07) and the most that seems to happen is that 07 wants to run the configuration again.

    Enough babble from me

    Thanks guys n girls

  14. #14
    DrPerceptron's Avatar
    Join Date
    Dec 2008
    Location
    In a house
    Posts
    926
    Thank Post
    34
    Thanked 134 Times in 114 Posts
    Rep Power
    41
    Code:
    strApplicationName = "Microsoft Office Professional Edition 2003"
    
    strComputer = "."
    
    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    
    Set colSoftware = objWMIService.ExecQuery("Select * From Win32_Product Where Name = '" & strApplicationName & "'")
    
    For Each objSoftware in colSoftware
    
    	objSoftware.Uninstall()
    
    Next
    That's what I used to uninstall office when I dabbled with the deployment using XML... - you can get the App name from ARP I think that's where I got mine from, or query the relevant WMI table

    In the end, I backed out, built an MSP, stuffed in the updates folder along with SP2 and rolled it out using the EXE as part of a startup script, worked on about 95% and I seem to remember the option to either uninstall or upgrade the existing copy of office when the installer ran.

  15. #15


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,641
    Thank Post
    229
    Thanked 865 Times in 743 Posts
    Rep Power
    297
    i find scripting it is better and i set the interface to minimal so you see a percentage bar on install

    rem @ECHO OFF
    REM --- Check for an existing installation of office07
    if exist "C:\Program Files\Microsoft Office\Office12\excel.exe" goto _End
    "\\serve\office12$\setup.exe" /adminfile "\\server\office12$\Office12.msp"
    REM --- End of the script
    :_End

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. GPO MSIs not deploying on new kit
    By mattx in forum Windows
    Replies: 18
    Last Post: 13th July 2009, 08:03 PM
  2. Deploying Fireworks 8 via GPO
    By j17sparky in forum Educational Software
    Replies: 4
    Last Post: 15th May 2007, 09:57 AM
  3. Deploying a XP theme through GPO
    By Kyle in forum Windows
    Replies: 5
    Last Post: 11th March 2007, 08:42 PM
  4. deploying office 2007 Professional Plus Through GPO
    By BKGarry in forum Wireless Networks
    Replies: 7
    Last Post: 6th January 2007, 05:02 PM
  5. Replies: 10
    Last Post: 21st November 2006, 02:47 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •