Vous êtes sur la page 1sur 14

Profiling and Streaming Office 2010 with Citrix Application Streaming

Overview
The primary focus of this article is to provide step-by-step instructions for the successful deployment of Microsoft Office 2010 using the Citrix application streaming feature. Prerequisite knowledge of Microsoft licensing methods for product activation using KMS and MAK licenses is assumed. To ensure successful results when profiling and streaming Microsoft Office 2010, proceed as follows: 1. 2. 3. 4. 5. Review the Profiling Best Practices section Customize and Profile Microsoft Office 2010 according the detailed steps mentioned later in this document. Install the Microsoft Office 2010 Deployment Kit on client computers or servers where applications will be streamed. Publish and stream Microsoft Office 2010 to client computer or server. Verify Microsoft Office 2010 product activation

If followed carefully and performed without interruption, the steps that follow the Profiling Best Practices section should result in a successful deployment of streamed Microsoft Office 2010. For general information on Citrix Application Streaming, refer to the Citrix eDocs site and search for Application Streaming for your version of XenApp as well as the Application Streaming, Licensing, and Troubleshooting References section at the end of this document.

Note: The steps mentioned in this document have been tested with the following Windows platforms and a clean base installation of the operating system, current Windows service packs and updates, as well as any items mentioned in the Prerequisites section. Additionally, both KMS and MAK license keys have been tested. Individual results may vary based on your environment and system configuration.

Desktop
Windows XP 32-bit and 64-bit with SP3 Windows 7 32-bit and 64-bit with and without SP1

Server
Windows Server 2003 32-bit and 64-bit with SP2 Windows Server 2008 32-bit and 64-bit with SP1 and SP2 Windows Server 2008 R2 with and without SP1

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Profiling Best Practices


The following guidelines or best practices are recommended when profiling Microsoft Office 2010:

General
Install the latest version of the Citrix Streaming Profiler (MyCitrix logon is required to view and download) on a nonproduction physical or virtual machine with a clean installation of only the target operating system along with any service packs, recommended updates, and antivirus solution. A virtual machine image with a point-in-time snapshot is ideal for this task because it allows you to easily revert to this clean state after application profiling. Disable the Windows Defender Service and do not use any malware protection software on the Profiler computer. If the User Access Control (UAC) feature will be enabled on the computers or servers to which Microsoft Office 2010 will be streamed, also enable UAC on the Profiling computer. Note: If new (remote) computers are added to your environment that do not align with your organizations standards for implementing UAC, it might be necessary to enable or disable UAC on the new workstation(s) to avoid issues with application streaming. Do not install the Citrix Offline (Streaming) Plug-in on the Profiler computer.

Microsoft Office 2010


Run the Microsoft Office 2010 setup from either a local drive or mapped network drive of the Profiler workstation; save the .MSP file created during the customization process to the Updates folder at the root of the Office 2010 install folder. During the Office 2010 customization process, set all desired applications and components to Run All from My Computer and select the option to suppress any first-time run messages. (Refer to Customizing Microsoft Office 2010 below). Review all Prerequisites and Known Issues sections prior to beginning the profiling process and, if possible, begin and end the customization and profiling process without interruption to avoid omission of necessary steps. Verify that a local installation of Microsoft Office 2010 was not previously performed on the Profiler computer because files that already existing on the underlying operating system will not be added during the profiling process. Note: Uninstalling a local instance of Microsoft Office 2010 from the Profiler computer does not remove all references to that installation and likely results in issues when streaming applications to either the client computer or server.

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Prerequisites
Prerequisites depend upon the operating system installed on the Profiler workstation and target operating system selected during the profile process. The following are a list of prerequisites for each Windows operating system platform:

Windows XP

.NET 2.0
For Windows XP 32-bit edition, install Hotfix KB978835 (For more information, refer to CTX124563) During the profiling process (not before), install Microsoft Core XML Services (MSXML) 6.0 Service Pack 1

Windows Server 2003 and Windows Server 2003 R2


.NET 2.0 For Windows 2003 32-bit and 64-bit editions, install Hotfix KB973573 (For more information, refer to CTX124563) During the profiling process (not before), install Microsoft Core XML Services (MSXML) 6.0 Service Pack 1

Windows Vista
None

Windows 7
None

Windows Server 2008


Enable the Desktop Experience feature if profiling and streaming OneNote 2010

Windows Server 2008 R2


Enable the Desktop Experience feature if profiling and streaming OneNote 2010

To Enable the Desktop Experience feature (Windows Server 2008, Windows Server 2008 R2) KB947036
1. 2. 3. 4. 5. Start Server Manager. Click Features in the navigation pane. In the details pane, locate the Features Summary area, and then click Add Features. In the Add Features Wizard, check the Desktop Experience checkbox, and then click Next. Click Install.

6. After the Desktop Experience feature is installed, click Close to exit the Add Features Wizard. 7. Click Yes to restart the server (Important: the Desktop Experience feature is not available until after the server has been restarted).

Known Issues When Profiling/Streaming Microsoft Office 2010


Because of issues reported with profiling and streaming Microsoft SharePoint Workspace 2010, it is not recommended to include this application when profiling Microsoft Office 2010. These issues are under investigation by Citrix Technical Support.

Step 1
3 Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Customizing Microsoft Office 2010


Customization of Microsoft Office 2010 is necessary to suppress the Opt-In Wizard dialog on a first run message; additionally, the feature (application) installation states can be set during customization and verified later during the profiling process. To launch the Microsoft Office Customization Tool: 1. From a Command Prompt, navigate to the Microsoft Office 2010 installation folder and type the following command to launch the Microsoft Office Customization Tool: setup /admin Using the navigation pane, make the following changes:

2.

Click Features > Set feature installation states:


Right-click each feature (application) to be included in the profile and select Run all from My Computer Right-click each feature (application that will not be included in the profile and select Not Available

Click Features > Modify user settings > Microsoft Office 2010 > Privacy > Trust Center
Set Disable Opt-in Wizard on first run to Enabled.

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

3.

Click File > Save As, browse to the Updates folder in the root of the Microsoft Office 2010 install folder, provide a name for the customization file, for example, CustomOptions, and then click Save.

4.

Click File > Exit to close the Microsoft Office Customization Tool.

5. Proceed to Step 2 Profiling Office 2010

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Step 2 Profiling Office 2010


1
Carefully review the Profiling Best Practices section before proceeding with the following steps to profile Microsoft Office 2010. It is strongly recommended that you begin and end the following profiling process without interruption to prevent missing a critical step.

Creating the Profile Launch the Streaming Profiler. (If the Start-up Wizard is not selected, click File > New). Provide a name for the profile, for example, Office 2010 and click Next. Leave the Enable User Updates option unchecked and click Next.

Setting Installation Options Click Next at the Set up Inter-Isolation Communication dialog, and then Next again for Set Target Operating System and
Language. Note: The streaming profiler pre-selected the target operating system based on the underlying Windows operating system . Citrix does not recommend changing the pre-selected target operating system.

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

At the Select Install Option dialog, select Advanced Install and then click Next. At the Select Install Method dialog, select Run install program or command line script and then click Next.

For Windows XP or Windows Server 2003 If you are profiling on either a Windows XP or Windows Server 2003 computer, you must download Microsoft Core XML Services (MSXML) 6.0 Service Pack 1 and install it into the profile before beginning the Microsoft Office 2010 installation.

Download Microsoft Core XML Services (MSXML) 6.0 Service Pack 1 (msxml6_x86.exe) and save to a
location on the profiler computer.

At the Choose Installer dialog, click Browse to locate the msxml6_x86.exe file, and then click Next. At the Run Installer dialog, click the Launch Installer button to install the MSXML component. When the installation completes, click Finish. At the Select Next Step dialog, select Perform Additional Installations, and then click Next. At the Select Install Method dialog, select Run install program or command line script and then click Next. Proceed to Installing Microsoft Office 2010.

Installing Microsoft Office 2010 At the Choose Installer dialog, click Browse to locate the setup.exe file in the Microsoft Office 2010 install folder, and
then click Next.

At the Run Installer dialog, click the Launch Installer button to start the Microsoft Office 2010 installation.

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Accept the End User License Agreement, and then click the Customize button. Verify that all applications are set to either Run all form My Computer (applications to be included in the profile) or Not
Available (applications not to be included in the profile). Note: Leaving a feature set to Install on First Use results in errors when launching the streamed application because the profile comprises only features installed during the profiling process.

Click Install Now after selecting all desired features, and when the installation finishes, click Close.

Click Next (the profiler runs a virtual restart to complete the installation), click OK, and then click Next.
8 Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

At the Select Next Step dialog, select Perform additional Installations, and then click Next.

Setting Post-Installation Options At the Select Install Method dialog, choose Select Files and Folders and then click Next. Using Explorer, navigate to the root of the local drive, and then create a folder named Required Files. Using Windows search, search for each of the files located in the table below and copy each of the files to the Required
Files folder. Note: If multiple versions of a file exist, use the file with the most current date. Also, for Windows XP, remember to change the advanced search options to reveal system files/folders. Copy to (32-bit OS)
C:\Program Files\Microsoft Office\Office14 C:\Windows\system32 C:\Windows\system32 C:\Windows\system32

Files
Msvcr80.dll cmd.exe
2 3 4 1

Located in
C:\Windows\winsxs\x86_Microsoft.VC80.CRT C:\Windows\system32 C:\Windows\system32 c:\ctxpackager\<Target>\device\c\Program Files\Microsoft Office\Office14

Copy to (64-bit OS)


C:\Program Files (x86)\Microsoft Office\Office14 C:\Windows\SysWOW64 C:\Windows\SysWOW64 C:\Windows\SysWOW6

Control.exe

MLCFG32.cpl

1 = Needed for Microsoft C Runtime Library and Visual Studio to operate properly 2 = Windows command prompt 3 = Windows Control Panel 4 = Mail Control Panel API, this is the component use for Outlook mail profiles

In the Select Files and Folders window under Look in, navigate to the Required Files folder. Select and copy each file from the Required Files folder to the appropriate destination folder (right pane) using the Green
arrow button according to the table below, and then click Next when finished.

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

At the Select Next Step dialog, select Finish Installations, and then click Next. At the Run Application dialog, select and then click Run to launch each of the applications that appear in the application
list, and close each application after it launches successfully.

After all applications have been run, click Next.


Note: Any errors encountered when launching an application must be addressed and resolved before continuing. Review the Prerequisites section to verify all requirements for the Profiler and target operating system have been satisfied.

Click Next through the remaining dialogs (unless additional settings are required for your environment), and then click
Finish on the Build Profile screen. Note: You might encounter a dialog indicating that one or more processes are still running in the isolated environment. Click Terminate All to end these processes and then clicking Finish to proceed to the Build Profile dialog.

When the profile build is complete, click File > Save, navigate to the network share from which the applications will be
streamed, and click Save.

10

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Proceed to Step 3 Installing the Microsoft Office 2010 Deployment Kit

Step 3 Installing the Microsoft Office 2010 Deployment Kit


When streaming Microsoft Office 2010 applications with either Microsoft App-V or Citrix Application Streaming, Microsoft requires the use of the Office 2010 Deployment Kit to ensure successful product activation using the Office Software Protection Platform (OSPP) and KMS or MAK licenses. The product activation component included in the kit runs as a local service on either the client or server computer depending upon where the applications are streamed. Running the licensing component locally eliminates the need to run the OSPP service in the isolated environment where it might not successfully activate the product. Benefits of using the Office 2010 Deployment Kit Provides support for MAK license activation that is not possible if the service is run in the isolated environment. Separates license activation from streaming issues and isolates troubleshooting of license activation issues. Eliminates the need to add the AppHubWhiteList registry setting during the profiling process. Allows for simultaneous use of locally installed and streamed Office 2010 applications.

To facilitate the distribution and installation of the Office 2010 Deployment Kit, consider the following options: Active Directory Software Deployment (silent install is possible) Third-party electronic software deployment solutions Logon Script

Downloading the Microsoft Office 2010 Deployment Kit 1. 2. 3. Click Microsoft Office 2010 Deployment Kit to download either the x86 or x64 version of the kit. Save the downloaded file to a network share where it can be centrally accessed. Execute the Office2010AppVKit-x86.exe or Office2010AppVKit-x64.exe, accept the EULA, and then select a target folder for extracting the contents which includes OffVirt.msi.

11

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Installing the Microsoft Office 2010 Deployment Kit


When executing OffVirt.msi, certain feature flags and product activation parameters must be provided as command line options depending upon the product edition and type of licenses (KMS or MAK) you are using to activate the product. Note: In each of the options that follow, it is assumed that the MSIEXEC command is being executed from the directory where the OffVirt.msi file and transform file exists. You must use a transform file (see download the link that follows) when you install the Office 2010 Deployment Kit in order to change startup option for the Office Software Protection Platform (OSPP) service from Manual to Automatic. Click the following link to download the zip file that contains a transform file for both 32-bit and 64-bit versions of the Office 2010 Deployment Kit: OffVirtMSTFiles.zip For KMS Activation Option 1 If KMS is confirmed discoverable by DNS, and you are using Microsoft Office 2010 Professional Plus edition, use the following command line to install the Office Deployment Kit: msiexec /i OffVirt.msi PROPLUS=1 TRANSFORMS=<transform filename> Option 2 If KMS is not configured for DNS discovery or if you have client computers that are not joined to your domain, use the following command line to install the Office Deployment Kit for Microsoft Office 2010 Professional Plus edition and to specify the FQDN or IP address and port number for your KMS server:
msiexec /i OffVirt.msi PROPLUS=1 KMSSERVICENAME=kms.contoso.com KMSSERVICEPORT=1688

TRANSFORMS=<transform filename> Note: If you are streaming a different edition or individual Microsoft Office 2010 applications, refer to the KMS Activation section of KB983462 for complete list of Microsoft Office 2010 KMS product edition and application flags to replace the flags listed in red above. Also, if you use a port other than the default port for KMS (default = 1688) you can indicate the alternate port in the KMSSERVICEPORT flag. For MAK Activation With MAK activation Microsoft recommends using the Volume Activation Management Tool (VAMT) 2.0 installed on the KMS server to assign the MAK keys to the client computers or servers where Microsoft Office 2010 will be streamed. If for some reason VAMT cannot be used, the following command line options can be executed on either the client computer or server to install the Office Deployment Kit:
msiexec /i OffVirt.msi PIDKEYS=XXXXX-XXXXX-XXXXX-XXXXX;YYYYY-YYYYY-YYYYY-YYYYY-YYYYY USEROPERATIONS=1 TRANSFORMS=<transform filename>

Note: Multiple MAK keys may be entered for the PIDKEYS flag separated by semicolons as shown above. Important: You must set USEROPERATIONS=1 to allow a non-admin user to activate licensing on the client computer. For more information, refer to the MAK Activation section of KB983462 for more information. For KMS and MAK Activation If you are using a mixture of KMS and MAK licenses, both methods of license activation must be carried out separately. For additional information regarding the Office Software Protection Platform, refer to Tools to Configure Client Computers and Troubleshooting Volume Activation for license activation commands and troubleshooting information.

Proceed to Step 4 Product Activation Verification

Step 4
12 Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Product Activation Verification


To confirm successful product activation after publishing and streaming Office 2010, on a client or server computer, you can: 1. Launch an Office 2010 application, click File > Help to see the activation status:

2.

Check the Windows application event log to verify the following events exist: Event ID 12289 The client has processed an activation response from the key management service machine. Event ID 1003 The Software Protection service has completed licensing status check.

13

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Application Streaming, Licensing, and Troubleshooting References

General
Citrix Application Streaming Application Streaming Delivery and Profiling Best Practices for XenApp Citrix Application Streaming Guide - EN Application Streaming Utilities Application Streaming Licensing Explained Application Streaming Communication Process How to Properly Add Multiple Targets to an Application Streaming Profile Heartbeat Service for Application Streaming Session Monitoring Explained How to Use Application Streaming with XenApp Advanced Edition

Troubleshooting

App streaming: architecture and troubleshooting techniques Citrix Application Streaming Internals Key RadeLauncher Settings and Considerations for Application Streaming Application Streaming and XenApp Application Isolation Environment Shared Files How to Find the .Rad File that is Used to Launch a Streamed Application License Compliance Technique for Application Streaming Enhancing Security in Application Streaming for Desktops Case Study - Application Streaming Error 0xE000387 'An error occurred while starting your application'

Microsoft KMS and MAK Licensing Volume Activation Management Tool (VAMT) 2.0 Office 2010 Administrative Template files (ADM, ADMX/ADML) and Office Customization Tool Microsoft Office 2010 KMS Host License Pack Windows Volume Activation KMS activation of Office 2010 How to troubleshoot the Key Management Service (KMS)

14

Profiling and Streaming Microsoft Office 2010 with Citrix Application Streaming

Vous aimerez peut-être aussi