Hi Everyone,
I'm confident you will be considering the roll out of Office 2010 soon. If your like me, I need to roll out Office 2010 to over a 1000 workstations. I thought I would give you my real world experience on a simply approach:
I'm confident you will be considering the roll out of Office 2010 soon. If your like me, I need to roll out Office 2010 to over a 1000 workstations. I thought I would give you my real world experience on a simply approach:
The are five steps in this process the include:
- Customising Office 2010
- Creating the Package and Program
- Copying the Package to your Distribution Points
- Creating an Active Directory Security Group and Collection
- Creating an Advertisement and Assigning it to the Collection
In your testing environment you may want to speed the process up. I'll show you how to force a client to get the package straight away and get a report on the outcome of the advertisement.
How To Customise Office 2010
- Download your Office 2010 install files and place it in your package source directory.
- Run setup.exe /admin from the command prompt. This will allow us to create a MSP file which we will save into the updates folder.
It is important to note you can only run setup.exe /admin for Office 2010 64 Bit version from a 64 bit platform.
- Select your product. In this case it is Microsoft Office Professional Plus 2010 (64bit)
- Complete your desired customisation. In this example, I will be completing the following: Setting the organisation name, setting licensing and user interaction (suppress all notifications to allow for a silent install) and removing previous installations.
License information
Removing previous installations
- Go to File => Save As and save it in the Updates folder as Setup.MSP.
Office looks at this location for updates and customisation files automatically. You can put Service Packs in this location too and they will be automatically installed during the Office install process.
Your customised Office 2010 package is now ready for SCCM.
Creating Package & Program
Copying the Package to your Distribution Points
Creating Package & Program
- Create a New Package
- Fill out the General Details
- Set the Data Source Details and Options
- All other options leave as default
- Create a New Program
- File out the details as below.
- You can set program dependencies. In this example I will only install Office 2010 on Windows 7 x64 machines and the install process will timeout after 120 minutes.
- You can set the environment. Since it is a silent install I will install it whether or not a user is logged on, run with administrative rights and allow users to interact with the program.
- You can set some advanced features like running a program first. In this example I have left it as default.
- Leave the other options as default. Once completed you should see the new program
This completes creating the package and program
Copying the Package to your Distribution Points
- Add a New Distribution Point
- Click next at the Welcome Screen
- Select your Distribution Points and click Next
- Under Package Status => <SiteCode> you can see the state of your package on each Distribution Point. It will state Installed once the package has completed copying.
Package Snap in
List of DP's for this Package
This completes coping your package to your Distribution Point
Creating an Active Directory Security Group and Collection- Within Active Directory create a security group. Call it SCCM - Deploy Microsoft Office 2010 Professional Plus x64.
- Add the computers you wish to deploy Office 2010 too. In this example I will deploy it to MULLER-TEST
- Within SCCM create a new collection, call it Deploy Microsoft Office 2010 Professional Plus x64
- Fill out the General Details and click the Next button
- Create a new membership rule by clicking on the SQL button.
- Limit the Collection by your Active Systems Collection Group, give the query rule a name and click on Edit Query Statement.
- Click on Show Query Language
- Add the following SQL statement. Change the domain to your domain
- SELECT
- SMS_R_SYSTEM.ResourceID
- ,SMS_R_SYSTEM.ResourceType
- ,SMS_R_SYSTEM.Name
- ,SMS_R_SYSTEM.SMSUniqueIdentifier
- ,SMS_R_SYSTEM.ResourceDomainORWorkgroup
- ,SMS_R_SYSTEM.Client
- FROM
- SMS_R_System
- WHERE SMS_R_System.SystemGroupName = "CHANGE ME\\SCCM - Deploy Microsoft Office 2010 Professional Plus x64"
- Click on OK twice and next three times and your collection is created.
- Depending on your discovery methods will depend on how long it will take to display in the new collection. You can force it by doing an Active Director Security and System Group Discovery. Once SCCM has discovered update the collection and you will see the computer in that collection
This completes creating an Active Directory Security Group and Collection
Creating an Advertisement and Assigning it to a Collection
Your computer will get the new advertisement when it reports pack to your SCCM Server. To force the process follow the below instructions.
Force A Client To Retrieve An Advertisement
- Add a New Advertisement
- File out the General tab details. Select the Package you created, the Program will fill itself and select the collection you created
- Select the schedule options. In this example I have set a deadline, enabled wake on LAN (Requires Out of Band Management), Ignore maintenance windows, and not to rerun if the program fails
- Set the Distribution Point settings. In this example the client downloads the package to their cache.
- Set user Interaction. In this example, I allow users to interact with the application to run it when they want to. If they don't run it, the application will install at the deadline.
- Click Next twice and you advertisement is created.
- You will now see the new advertisement
Your computer will get the new advertisement when it reports pack to your SCCM Server. To force the process follow the below instructions.
Force A Client To Retrieve An Advertisement
- Open the Configuration Manager console located in the control panel on the client
- Click on the Actions tab, select Machine Policy Retrieval & Evaluation Cycle and select Initiate Action
- The SCCM agent will appear in the bottom right hand corner. Depending on how you advertised the application will depend on the icon. Below are the three possibilities that will appear. I set a deadline so the middle will appear, it will state an application will be installed in x amount of time.
- To see the progress on the advertisement run the report All Advertisements for a specific collection. It will list the current state of the advertisement.
Moving From Office 32 Bit To Office 64 Bit
If you’re planning to move from 32 bit to 64 bit then you need to remove all versions of 32 bit first. In my case I needed to remove Microsoft Office 2007 Professional and a few other applications.
Follow these steps to complete this task:
- Create a file in Pro.WW called SilentUninstallConfig.xml.
- Add the following details to the file and update your Distribution Points
<Configuration Product="Pro">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
- Create a new program in your Office 2007 package with the following settings
The command line is setup.exe /uninstall Pro /config Pro.WW\SilentUninstallConfig.xml
- Change any requirements settings. In this example, it will only run on Windows 7 x64
- Change any environment settings. In this example, it will run whether or not a user is logged on and runs with administrative rights
- Change any advance settings. In this example, it will suppress program notifications.
- Hit next three times
- Create a Task Sequence that removes your applications and then installs Office 2010 Professional Plus x64.
- In Options for the task, check to see if the following register exists. This way it will only try an remove it if it is installed.
Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90120000-0014-0000-0000-0000000FF1CE}
- Advertise this instead to your collection and your set to go. Set the Advertisement to only download content if required. This way it will not download Office 2007 if it is not installed.
- The Service Desk have an easy solution to install Office2010, just by adding the computer into a Security Group.
- They do not need to know anything about the SCCM console.
- They can tell the user they will get the application within two hours.
- We don't need to install it on the 1000 workstations yet.
When management decide to deliver Office 2010 to all systems we could remove the deadline and advertise it to all active systems. If we remove new notifications it would be a self service. The user would see the application under programs and features and install it when they want.
Self Service
We could also set a deadline from one month of advertisement date and remind them every second day. This way they have a month to install before it installs itself.
I hope you have found this blog helpful, please leave a comment or question if you have.
thanks for the post, we use ManageSoft and this documented procedure is very helpful
ReplyDeleteThanks for the feedback. If you would like to see any others let me know
ReplyDeleteI have some questions on your task sequence. For your removal tasks, what is in your package and how are you doing the removal?
ReplyDeleteWhat will you do if Office was installed by a different MSI which resulted in a different registry key (GUID) that you are not aware? The condition on your task step might make SCCM believe that Office may not be installed because you only specify on registry key.
Hi there,
ReplyDeleteThe package is the package I used to install the application.
The package has two programs, one to install and one to remove. I added the file SilentUninstallConfig.xml to the package and call this to uninstall the application.
My task sequence checks for all versions in my network. For example, if I had Office 2007 Enterprise in my environment I would just include it. No Big deal. A quick SCCM report tells me all versions on my network.
Hope this answers your questions.
Hi Blair, not sure, but I think there's a small flaw in your deployment logic at the Office 2010 install stage. You've created your program so that it installs with admin rights whether the computer is logged on or not, but also allowed user interaction.
ReplyDeleteIn the past when I've created a program that installs when the computer is not logged on but which permits user interaction I've found that SCCM refuses to install when the computer is in the logged off state. This is because it wants to let the interactive user have access to the install, but because the machine is logged off there is no interactive user and that breaks the policy of the program. The fix there is to only allow install when the computer is logged in I suppose.
Great post though, especially with your use of the task sequence, nice!
Thanks Nickc,
ReplyDeleteI just looked at my deployment and I don’t have that ticked. I’ve only ever seen one program that had to be run in interactive mode and that was the Citrix Receiver updater and it was only to remove it. I always use task sequences when I can as I find the results without them a bit flaky
This comment has been removed by the author.
ReplyDeleteHi Blair
ReplyDeleteThanks for your useful post. In my case i want to install office 2013 and uninstall office 2010 automatically. I did your steps from 1-5 to customize office 2013 and I have create a file in Pro.WW called SilentUninstallConfig.xml.
What I need now, is how to do a batch file to combine between installing office 2013 with the msd file + and removing office 2010 with the config.xml.
Thanks
regards