Jump to content


  • 0
murda

How can I deploy Office 2007 with SCCM

Question

How can I deploy Office 2007 with SCCM

 

In this guide I will deploy Office 2007 Enterprise & Office Language Pack towards a client in a OSD Task Sequence.

 

Important notice:

 

You use the Office Customization Tool (OCT) to customize an installation of the 2007 Microsoft Office system. The OCT is part of the Setup program and is the recommended tool for most customizations. You run the OCT by typing setup.exe /admin at the command line. The OCT is available only with volume licensed versions of the 2007 Office system. Office Standard 2007, Office Small Business 2007, Office Professional Plus 2007, and Office Enterprise 2007 are available for purchase through volume licensing. For more information, see How to buy the 2007 Microsoft Office suites (http://go.microsoft.com/fwlink/?LinkID=121942).

 

To determine if your 2007 Office suite installation is a volume licensed version, check the 2007 Office suite installation disk to see if it contains a folder named Admin. If the Admin folder exists, this disk is a volume license edition. If the Admin folder does not exist, this disk is a retail edition. For more information, see Microsoft Knowledge Base article 93141: How to determine whether you have a retail edition or a volume license edition of a 2007 Microsoft Office suite (http://go.microsoft.com/fwlink/?LinkId=149830).

See Technet

 

If you don't have a Volume license edition then you need to make your customizations with the config.xml.

How you can customize your office with a config.xml is explained here & here.

 

 

 

 

I have an Enterprise volume license edition so I will proceed with customizing Office 2007 with OCT (.msp file) and the Language Pack with a config.xml file.

 

First thing I did was download Microsoft Office 2007 Enterprise & Language Pack NL edition.

I unpacked the folder to my client pc so I can test the silent installs before making a package in SCCM.

 

The unpacked folders look like this:

 

Office 2007 Enterprise:

post-2579-1244803742_thumb.jpg

 

Office 2007 language pack:

post-2579-1244803781_thumb.jpg

 

Side note info from technet to understand where the setup.exe is going to check for the customization files (.msp or config.xml)

If you have problems with customizing office

Setup looks for a copy of Config.xml in the same folder as Setup.exe. If a copy is not found there, Setup uses the Config.xml file that resides in the core product folder for the product that you are installing. If there are multiple products available in the installation source, Setup waits until you specify which product to install before it looks for the copy of Config.xml. Because of this design, the Logging element is only used by Setup when the Config.xml file resides in the same folder as Setup.exe, or if you specify the Config.xml file by using the Setup /config command-line option. If Setup uses the Config.xml file in the product folder, the default standard logging options are used.

 

Next step is open CMD and customize your Office 2007 EE install

Run the following switch from CMD: "setup.exe" /admin

post-2579-1244804076_thumb.jpg

 

This will open a window and select "Create a new setup customization file for the following product"

post-2579-1244804148_thumb.jpg

 

For testing I just filled in my Office Enterprise License and the following options:

Display Level="none" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes"

 

I will not go in depth of customizing Office 2007 but you always can check technet for further details on how to customize Office 2007.

 

When you're done customizing the office 2007 then you can save your customization file in the Office 2007 root folder.

I saved two customizations: Full_silent.msp & Standard_silent.msp

post-2579-1244805743_thumb.jpg

 

Now lets try out our saved .MSP file and see if it works correctly before proceeding for a Office Language Pack.

 

Now let's open CMD.

browse to your install and enter the following switch: "setup.exe" /adminfile file.msp

post-2579-1244806063_thumb.jpg

 

Sidenote: If you only have one .MSP file then you can place it in the Updates folder under the root folder and just run the "setup.exe" without switches. "Setup.exe" will automatic apply the saved .msp file from the updates folder.

If you have more .MSP files like me then place them all in your Office 2007 EE root folder.

 

Now check the process of the installation.

When you configured the customization as a silent install then you can follow the process in the TaskManager (CTRL+SHIFT+ESC)post-2579-1244806287_thumb.jpg

 

You've to wait till the following files are dissapeared in your taskmanager

- setup.exe

- msiexec.exe

- ose00000.exe

 

After that you can check if you're office is correctly installed:

post-2579-1244806419_thumb.jpg

 

 

Oké, lets install a Language Pack. In my example I am going to install a NL language pack.

Now lets browse to your Language Pack Folder.

 

Now copy the config.xml file that is in the OMUI.NL-NL to the Office Language pack root folder.

post-2579-1244806966_thumb.jpg

 

Now you can customize the config.xml with a Text editor (notepad or notepad++).

For more information on how to customize the config.xml for language packs I refer you to this site: technet

 

This is how my config.xml looks like

post-2579-1244807105_thumb.jpg

 

The code so you can copy past and test it:

<Configuration Product="OMUI.nl-nl">
<Display Level="none" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
<AddLanguage Id="nl-nl" ShellTransform="Yes" />
<OptionState Id="OfficeMUI" State="Local" Children="force" />
</Configuration>

 

 

Lets test this config.xml just by running the "setup.exe" from the "Language Pack"

 

Sidenote: If your config.xml is in another directory then (besides the root folder and the OMUI.NL-NL folder then you have to give the full path in the command line).

Example: "setup.exe" /config \\server\share\Office12\OMUI.NL-NL\Config.xml

 

 

Check the process in TaskManager like explained above.

When the process is finished, you can select your desired language by selecting "Microsoft Office 2007 Languages"

post-2579-1244808153_thumb.jpg

 

Checking if the language are installed:

post-2579-1244808388_thumb.jpg

Looks like it is correctly installed.

 

 

What about the updates?

 

Go to Microsoft Office Online and update you office but DO NOT INSTALL them.

Write down the available or needed updates for your office and download them manually to your Updates folder that is located at your Office 2007 EE folder

These updates will be automaticly applied.

post-2579-1244808857_thumb.jpg

  • Like 1

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

For our Office 2007 package, the MSP file is in the same directory as the setup.exe.

 

Our command line is just setup.exe which I assume by default references the MSP file there, the xml is not configured and when it was configured would interfere with it.

 

The only problem I have with Office 2007 upgrade from 2003 is that the reporting never fully updates when it's finished installing, setting it to reboot itself or not.

Share this post


Link to post
Share on other sites

  • 0

this my be a little old but for historic reasons we still roll out winxp with sccm... now there is also a office 2007 on it. It is already in the image it self and works fine.

 

i have 18 different languages to support ,so i only install them according on country code which is based on the computer name - this works. BUT in TS of operating system the log keeps stopping @ "Waiting for job status notification... InstallSoftware 12.05.2011 22:47:15 876 (0x036C)"

 

I have the following:

 

<Configuration Product="OMUI.de-de">

 

<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />

 

<AddLanguage Id="de-de" />

 

<OptionState Id="OfficeMUI" State="Local" Children="force" />

 

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

 

</Configuration>

 

Do i need to turn on completion notification? For single installation it works but not in the TS.

 

Any help would be appreciated, especially because it will be the same with office2010 i guess... :(

Share this post


Link to post
Share on other sites

  • 0

I have the following problem with the instalation of the Language packs.

 

I am using SCCM 2007 R3

 

Following Scenario.

 

Installing Office 2010 x86 EN

Instralling project 2010 x86 EN

Installing Visio 2010 x86 EN

 

With OCT i created a MSP file which i placed in the Update folder.

 

Created Task Sequence with the following setting.

 

Install OS (windows 7 x64)

normal OS deployment Sequence.

 

Install Software:

install Office 2010

Install project 2010

Install Visio 2010

 

All works well and all 3 packages are fully unattended installed.

 

Next i want to install the language pack.

It is the dutch language pack.

 

in the OMUI.nl-nl I edited the config.xml.

The only thing in the XML is:

 

<Configuration Product="OMUI.nl-nl">

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

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

<!-- <USERNAME Value="Customer" /> -->

<!-- <COMPANYNAME Value="MyCompany" /> -->

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

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

<!-- <LIS SOURCELIST="\\server1\share\Office;\\server2\share\Office" /> -->

<!-- <DistributionPoint Location="\\server\share\Office" /> -->

<!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->

<!-- <Setting Id="SETUP_REBOOT" Value="IfNeeded" /> -->

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

</Configuration>

 

in the same way i Edited the config files in the PMUI.nl-nl and VisMUI.nl-nl folder.

 

On a server i created a share called OSD_TS_Source.

The language pack files are in that folder in a subfolder Office2010_LP_Dutch_X86

in the same OSD_TS_Source Folder is a folder Office2010_English_x86, Project2010_English_X86 and Visio2010_English_x86 which contains the files for those products.

 

In SCCM I created a package called Microsoft Offcie Language pack 2010 x86 Dutch

details as follows:

 

Data Source:

This package contains source files: \\S114\OSD_TS_Source\Office2010_LP_Duch_X86

Always obtain files from Source Directory

 

Data Access:

Default values

 

Distribution Settings

Default Values

 

Reporting

Default Settings

 

Security

Default Settings

 

Distribution Points:

\\S114 (the DP is also the server where the source files are)

 

created a program:

Office 2010 LP Dutch x86

Command line: setup.exe /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml

Run: Normal (alreaddy tried hidden)

After running: No action required

 

Requirements:

Default values

 

Environment:

only when no user is logged on

Drive Mode:

Runs with UNC Name (default)

 

Advanced:

Suppress programm notifications

Allow this program to be installed from the Software Task Sequence

 

Windows Installer:

Default values

 

MOM Maintenance mode

Default values

 

The same thing i did for the Visio LP and the Project LP

 

In the Task Sequence i added the 3 packages.

 

Type: Install Software

Name: Install Software "Office 2010 LP"

Install a single Application

package: Microsoft Offcie Language pack 2010 x86 Dutch

Program: Office 2010 LP Dutch x86

 

Advertised the task Sequence:

Name: Deploy Windows 7 Standard Workplace

task Sequence :Deploy Windows 7 Standard Workplace

Collection : OSD Bare Metal Deployment

Incluce menbers of subcollection

make this task sequence available to boot media and PXE

 

Distribution Points:

Access content directly from a distribution point when needed by the running task sequence.

 

rest of advertisement all default values.

 

When I PXE boot a machine a select the TS I install the OS.

Joint the machine to the domain

drivers are installed

ConfigMgr is installed and configured

Office is installed

Project is installed

Visio is installed

 

and then NOTHING !!!!!

 

when it tries to install the LP it is saying Running Action Install Software "Offcie 2010 LP" and after 2 hours (the maximum run time) it exit with an error code 259

program ran past its maximum runtime. It will be orphaned.

 

When I logon to the machine and I open a command prompt and type \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\setup.exe /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml the program start immidiatly and finishes within 3 minnutes and the LP is installed. As far as I can think. The command line is correct in the packages otherwise it would NOT install from a command line.

 

Am I missing something ??? this is driving me nuts.

Share this post


Link to post
Share on other sites

  • 0

Little bit more information for the above.

here are some extracts from the logs and the reports.

 

 

Report information for report: Advertisement status messages for a particular computer and advertisement

 

Program started for advertisement "WRD2002E" ("WRD0004A" - "Office 2010 LP Dutch x86").

Command line: "\\s114.ccs.nl\SMSPKGE$\WRD0004A\setup.exe" /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml

Working directory: \\s114.ccs.nl\SMSPKGE$\WRD0004A\ User context: NT AUTHORITY\SYSTEM

 

The program for advertisement "WRD2002E" ("WRD0004A" - "Office 2010 LP Dutch x86") exceeded the maximum allowed run time of 120 minute(s).

Systems Management Server (SMS) has stopped monitoring the program, and is unable to determine the status of the program.

SMS will not automatically attempt to run this program again. Possible causes: The program might have taken longer to run than expected, or the program might have experienced problems while running.

Possible solution: Make sure the maximum allowed run time specified for the program allows enough time for the program to finish running.

If the program requires user input, ensure the program properties allow the user to interact with the program.

 

The task sequence execution engine failed executing the action (Install Software "Office 2010 LP") in the group (Install Software) with the error code 2147942659

Action output: ng for job status notification... Waiting for job status notification...

Waiting for job status notification... Waiting for job status notification...

CompleteExecution received CompleteExecution processed Received job completion notification from Execution Manager Installation completed with exit code 0x80070103

Setting TSEnv variable 'SMSTSInstallSoftwareJobID_WRD0004A_WRD2002E_Office 2010 LP Dutch x86'='' GetExecRequestMgrInterface successful Releasing job request,

jobID='{298BA35F-E2F6-480B-8490-44E8D4D1C6D3}' Releasing of Job Request successful CompleteJob successful

Entering ReleaseSource() for \\s114.ccs.nl\SMSPKGE$\WRD0004Areference count 1 for the source \\s114.ccs.nl\SMSPKGE$\WRD0004A\

before releasing Installation failed with error (0x80070103)

Released the resolved source \\s114.ccs.nl\SMSPKGE$\WRD0004ApInstall->Install(sPackageID, sProgramName),

HRESULT=80070103 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\main.cpp,374) Install Software failed, hr=0x80070103. The operating system reported error -2147024637: No more data is available.

 

The task sequence execution engine ignored execution failure of the action (Install Software "Office 2010 LP") in the group (Install Software).

 

Folllowing is taken from the clients ExecMgr log.

 

Policy arrived for child program Office 2010 LP Dutch x86 execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Creating mandatory request for advert WRD2002E, program Office 2010 LP Dutch x86, package WRD0004A execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

CExecutionRequest::Overriding Service Windows as per policy. execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Executing program setup.exe /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml in Admin context execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Execution Request for package WRD0004A program Office 2010 LP Dutch x86 state change from NotExist to NotifyExecution execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Execution Manager timer has been fired. execmgr 6/15/2011 12:42:27 PM 2300 (0x08FC)

Checking content location \\s114.ccs.nl\SMSPKGE$\WRD0004A\ for use execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Successfully selected content location \\s114.ccs.nl\SMSPKGE$\WRD0004A execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Executing program as a script execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Successfully prepared command line "\\s114.ccs.nl\SMSPKGE$\WRD0004A\setup.exe" /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Command line = "\\s114.ccs.nl\SMSPKGE$\WRD0004A\setup.exe" /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml, Working Directory = \\s114.ccs.nl\SMSPKGE$\WRD0004A\ execmgr 6/15/2011 12:42:27 PM 1668 (0x0684)

Created Process for the passed command line execmgr 6/15/2011 12:42:28 PM 1668 (0x0684)

Raising event:

[sMS_CodePage(437), SMS_LocaleID(1033)]

instance of SoftDistProgramStartedEvent

{

AdvertisementId = "WRD2002E";

ClientID = "GUID:E1D09EFE-6000-4F6E-85A5-F4EFD5C8874A";

CommandLine = "\"\\\\s114.ccs.nl\\SMSPKGE$\\WRD0004A\\setup.exe\" /config \\\\s114\\OSD_TS_Source\\Office2010_LP_Dutch_X86\\OMUI.nl-nl\\config.xml";

DateTime = "20110615104228.485000+000";

MachineName = "TESTLAPTOP";

PackageName = "WRD0004A";

ProcessID = 1512;

ProgramName = "Office 2010 LP Dutch x86";

SiteCode = "WRD";

ThreadID = 1668;

UserContext = "NT AUTHORITY\\SYSTEM";

WorkingDirectory = "\\\\s114.ccs.nl\\SMSPKGE$\\WRD0004A\\";

};

execmgr 6/15/2011 12:42:28 PM 1668 (0x0684)

Raised Program Started Event for Ad:WRD2002E, Package:WRD0004A, Program: Office 2010 LP Dutch x86 execmgr 6/15/2011 12:42:28 PM 1668 (0x0684)

Program exit code 259 execmgr 6/15/2011 2:42:28 PM 3008 (0x0BC0)

Looking for MIF file to get program status execmgr 6/15/2011 2:42:28 PM 3008 (0x0BC0)

Program ran past its maximum runtime. It will be orphaned execmgr 6/15/2011 2:42:28 PM 3008 (0x0BC0)

Raising event:

[sMS_CodePage(437), SMS_LocaleID(1033)]

instance of SoftDistProgramExceededTime

{

AdvertisementId = "WRD2002E";

ClientID = "GUID:E1D09EFE-6000-4F6E-85A5-F4EFD5C8874A";

DateTime = "20110615124228.769000+000";

MachineName = "TESTLAPTOP";

MaximumTime = "120";

PackageName = "WRD0004A";

ProcessID = 1512;

ProgramName = "Office 2010 LP Dutch x86";

SiteCode = "WRD";

ThreadID = 3008;

};

execmgr 6/15/2011 2:42:28 PM 3008 (0x0BC0)

Raised Program Exceeded Time Event for Ad:WRD2002E, Package:WRD0004A, Program: Office 2010 LP Dutch x86 execmgr 6/15/2011 2:42:28 PM 3008 (0x0BC0)

Execution is complete for program Office 2010 LP Dutch x86. The exit code is 259, the execution status is Unknown Status execmgr 6/15/2011 2:42:28 PM 2020 (0x07E4)

Execution Request for package WRD0004A program Office 2010 LP Dutch x86 state change from Running to Completed execmgr 6/15/2011 2:42:28 PM 2020 (0x07E4)

Share this post


Link to post
Share on other sites

  • 0

Did you try the command by hand (so without SCCM)?

 

When I logon to the machine and I open a command prompt and type \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\setup.exe /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml the program start immidiatly and finishes within 3 minnutes and the LP is installed. As far as I can think. The command line is correct in the packages otherwise it would NOT install from a command line.

 

Yep...i dit try to run it manually :) and that works like a charm. With machine in the above i mean the client :)

Share this post


Link to post
Share on other sites

  • 0

I think it has something to do with the location of your config.xml...

Command line: "\\s114.ccs.nl\SMSPKGE$\WRD0004A\setup.exe" /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml

Working directory: \\s114.ccs.nl\SMSPKGE$\WRD0004A\ User context: NT AUTHORITY\SYSTEM

Why are you not calling it from the package?

Share this post


Link to post
Share on other sites

  • 0

I think it has something to do with the location of your config.xml...

 

Why are you not calling it from the package?

 

 

Am I not calling it from a package ?

 

In SCCM I created a package called Microsoft Offcie Language pack 2010 x86 Dutch

details as follows:

 

Data Source:

This package contains source files: \\S114\OSD_TS_Source\Office2010_LP_Duch_X86

Always obtain files from Source Directory

 

Data Access:

Default values

 

Distribution Settings

Default Values

 

Reporting

Default Settings

 

Security

Default Settings

 

Distribution Points:

\\S114 (the DP is also the server where the source files are)

 

created a program:

Office 2010 LP Dutch x86

Command line: setup.exe /config \\s114\OSD_TS_Source\Office2010_LP_Dutch_X86\OMUI.nl-nl\config.xml

Run: Normal (alreaddy tried hidden)

After running: No action required

 

Requirements:

Default values

 

Environment:

only when no user is logged on

Drive Mode:

Runs with UNC Name (default)

 

Advanced:

Suppress programm notifications

Allow this program to be installed from the Software Task Sequence

 

Windows Installer:

Default values

 

MOM Maintenance mode

Default values

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.