Knowledge Center Home > CTX118396
Rate this Article:
You must be signed in to rate again
Article Feedback Print View Languages:  

Profiling Microsoft Office 2007 for Streaming - Best Practices

Document ID: CTX118396   /   Created On: Sep 9, 2008   /   Updated On: Oct 21, 2008
Average Rating: 3 (8 ratings)

Summary

This article describes how to install Office 2007 applications in an application streaming profile.

Procedure

This section consists of the following subsections:

Preparing the Profiling Computer

Creating the Application Profile

More Profiling Guidelines

Note: To review the system requirements for profiling computers and client computers, see the Installation Checklist at CTX113392 – Citrix XenApp 5.0 for Microsoft Windows Server 2008 Installation Checklist EN.

Preparing the Profiling Computer

1. On a clean computer as close to your client computer environment as possible, install the latest version of the Streaming Profiler. Restart when prompted.

2. Open the Office Customization Tool (setup.exe /admin) to create a custom Office 2007 .MSP file that could answer all of the questions asked during the installation. Place the .MSP file in the Updates subfolder in the Office2007 installation folder. This allows an administrator to perform a silent install.

From the Setup menu:

a. On the Install location and organization name page, enter your installation location and organization or company name.

b. On the Licensing and user interface page, enter your 25-character volume license key and select the I accept the terms in the License Agreement check box. For Display level, select Basic, and select the Suppress modal check box, as shown in the following screen shot:

c. On the Modify Setup properties page, make sure that the value for HIDEUPDATEUI is set to True and the value for WTSDISABLED is set to MsInfoFiles, PPTCastCoreFiles, as shown in the following screen shot:

From the Additional Content menu:

Caution! This procedure requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

On the Add Registry entries page, add the following registry entries:

Root: HKEY_CURRENT_USER
Data type
: REG_DWORD
Key
: Software\Microsoft\Office\12.0\Common\General
Value name
: ShownOptIn
Value data
: 00000001

Root: HKEY_CURRENT_USER
Data type
: REG_SZ
Key
: Software\Microsoft\Office\12.0\Common\General
Value name
: PONT_STRING
Value data
: 60

Root: HKEY_LOCAL_MACHING
Data type
: REG_DWORD
Key
: Software\Microsoft\Windows\windows Search\Preference
Value name
: PreventIndexingOutlook
Value data
: 00000001

From the Outlook menu:

a. On the Outlook profile page, select the New Profile radio button, and enter the Profile name: StreamedOutlook.

b. On the Specify Exchange Server page, select the Configure an Exchange Server connection option button and enter your User Name and the FQDN of your Exchange Server.

3. Continue using the Office Customization Tool (setup.exe /admin) to create a custom Project 2007 .MSP file that could answer all of the questions asked during the installation. Place the .MSP file in the Updates subfolder in the Office2007 installation folder. This allows an administrator to perform a silent install.

From the Setup menu:

a. On the Install location and organization name page, change the Default installation path to [ProgramFilesFolder]\Project2007, as shown in the following screen shot. This change is required if the application uses the inter-isolation communication (IIC) feature to communicate with Office.

b. On the Licensing and user interface page, enter your 25-character volume license key and select the I accept the terms in the License Agreement check box. For Display level, select Basic, and select the Suppress modal check box.

4. Continue using the Office Customization Tool (setup.exe /admin) to create a custom Visio 2007 .MSP file that could answer all of the questions asked during the installation. Place the .MSP file in the Updates subfolder in the Office2007 installation folder. This allows an administrator to perform a silent install.

From the Setup menu:

a. On the Install location and organization name page, change the Default installation path to [ProgramFilesFolder]\Visio2007, as shown in the following screen shot. This change is required if the application uses the inter-isolation communication (IIC) feature to communicate with Office.

b. On the Licensing and user interface page, enter your 25-character volume license key and select the I accept the terms in the License Agreement check box. For Display level, select Basic, and select the Suppress modal check box.

5. Copy any necessary Microsoft hotfixes into the Updates subfolder in the Office2007 installation folder.

Tip: Use the #_ as a prefix to force a specific order that these hotfixes are installed. Citrix recommends that you use the 1_ prefix for any .MSP files created using the Office Customization Tool. If Office Communicator is also included in this profile, extract KB936864 into this Updates folder and give the files the 2_ prefix, as shown in the following example:

6. Create a script file with the following installations and settings:

    • Install Software Update for Web Folders (KB907306)

    • Install Office 2003 Web Components SP1 for the 2007 Microsoft Office System

    • Install SharePoint Services Client

    • Install SaveAs PDF and XPS

    • Install Office Communicator

    • Copy msvcr80.dll to c:\windows\system32

    Add the following registry settings
    :

    • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\User Settings\ShownOptIn]
    "Count"=dword:00000001
    "Order"=dword:00000001

    • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\User Settings\ShownOptIn\Create\Software\Microsoft\Office\12.0\Common\General]
    "ShownOptInFix"="Applied"

    • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\User Settings\ShownOptIn\Create\Software\Microsoft\Office\12.0\Common\General]
    "ShownOptIn"=dword:00000001

    • [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
    "C:\\Program Files\\Microsoft Office\\Office12\\WINWORD.EXE"="WINXPSP2"
    "C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE"="WINXPSP2"
    "C:\\Program Files\\Microsoft Office\\Office12\\POWERPNT.EXE"="WINXPSP2"

    • [HKEY_LOCAL_MACHINE\Software\wow6432node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
    "C:\\Program Files (x86)\\Microsoft Office\\Office12\\WINWORD.EXE"="WINXPSP2"
    "C:\\Program Files (x86)\\Microsoft Office\\Office12\\EXCEL.EXE"="WINXPSP2"
    "C:\\Program Files (x86)\\Microsoft Office\\Office12\\POWERPNT.EXE"="WINXPSP2"

    • [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\citrite.net]
    "https"=dword:00000001
    "http"=dword:00000001
    *"=dword:00000001

    • [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
    "C:\\Program Files\\Microsoft Office\\Office12\\WINWORD.EXE"="WINXPSP2"
    "C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE"="WINXPSP2"
    "C:\\Program Files\\Microsoft Office\\Office12\\POWERPNT.EXE"="WINXPSP2"

    • [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
    "C:\\Program Files\\Microsoft Office\\Office12\\WINWORD.EXE"="WINXPSP2"
    "C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.EXE"="WINXPSP2"
    "C:\\Program Files\\Microsoft Office\\Office12\\POWERPNT.EXE"="WINXPSP2"

    • [HKEY_LOCAL_MACHINE\Software\wow6432node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
    "C:\\Program Files (x86)\\Microsoft Office\\Office12\\WINWORD.EXE"="WINXPSP2"
    "C:\\Program Files (x86)\\Microsoft Office\\Office12\\EXCEL.EXE"="WINXPSP2"
    "C:\\Program Files (x86)\\Microsoft Office\\Office12\\POWERPNT.EXE"="WINXPSP2"

Creating the Application Profile

Use the following steps to create a profile for Microsoft Office 2007.

1. On the profiling computer, start the Streaming Profiler.

2. Select New, name the profile Office 2007, and click Next to start the wizard.

3. If the Set User Profile Security screen appears, select Enhanced security and click Next.

4. If the Set up Inter-Isolation Communication screen appears, click Next.

5. On the Set Target operating System and Language screen, click Next.

6. On the Select Install Option screen, select Advanced Install and click Next.

7. Install Office 2007, Visio 2007, and Project 2007, using this procedure for each:

8. On the Select Install Method screen, select Run install program or command line script and then select Next.

9. Enter or browse to the location of the setup.exe file in the root of the Office installation folder and select Next.

    a. On the Run Installer screen, select Launch Installer.

b. Select the Office 2007 version to install. This should correspond to the version you used in the Office Customization Tool.

c. Once the installation is complete and you are on the Run Installer screen, select Next.

d. On the Select Next Step screen, select Perform additional installations and then select Next.

e. Repeat these steps for each Office application to be installed.

10. Add the Outlook Profile Editor files:

    a. On the Select Install Method screen, choose Select files and folders and select Next.

b. On the Select Files and Folders screen:

      i. On the left side, navigate and highlight c:\windows\system32\control.exe.

ii. On the right side, navigate to c:\windows\system32.

iii. Click the arrow pointing from the left side to the right side.

iv. Select Next.

    c. On the Select Next Step screen, select Finish installations and select Next.

d. On the Run Application screen, select Next.

e. On the Select Applications screen, add the Outlook Profile Editor icon:

      i. Select Add.

ii. On the Add Application screen, enter the values (as shown in the following screen shot):

Application name: Outlook Profile Editor
Path: the path to the control.exe file
Working directory: the path to the System 32 directory
Command line parameters: MLCFG32.cpl

      iii. Click OK. On the Select Applications screen, select Next.

11. If the Sign Profile page appears and you do not sign profiles, select Do not sign profile and then select Next. If your organization requires profile signing, sign the profile with your signing key. More information is available in Knowledge Center article CTX110304 – Enhancing Security in Application Streaming for Desktops.

12. On the Build Profile screen, select Finish.

13. After the profile builds, click Save.

14. Enter or browse to the file server or Web server and select Save.

15. Once the save is complete, close the profiler.

More Profiling Guidelines

Use the following guidelines for creating profiles for Microsoft applications:

• User Access Control (UAC) should be disabled prior to profiling.

• Perform the following steps if you are using Skype and Outlook 2007:

1. Open Skype.

2. From the toolbar, choose View.

3. Clear the View Outlook Contacts check box.

• Follow the specific guidelines stated in this document so that Office Communicator can integrate with Outlook 2007 (the above steps take all of this into account by using the Updates folder):

1. Install Outlook 2007 and Office Communicator in the same profile

2. You must install KB936864 BEFORE Office 2007 Service Pack 1. The “2_” before the file name in the updates folder means that it loads first.

3. You must install Office Communicator AFTER Office 2007 Service Pack 1 (this is why there is no number before the file name in the Updates folder).

• If you are using Office Communicator, ensure that you can send an Instant Message to a user from within the profiler for each target before the target is saved. From within isolation, this requires that you do the following:

1. Open Office Communicator and log on.

2. Attempt to send an instant message to a contact. You should see a small warning icon on the Office Communicator icon.

3. If you do the above steps, delete the following registry values outside of isolation so that the profiler’s information is removed from Office Communicator. From:

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Shared\UcClient]
Delete "ServerSipUri"=""
Delete "ServerUsername"=""

• To remove the Recent Documents in Office, delete the following files and registry keys outside of isolation:

1. Run the following commands:

cd %appdata%\microsoft\office\recent
del *.url
del *.lnk

2. Delete these registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Office\12.0\Excel\File MRU]

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Office\12.0\MS Project\Recent File List]

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Office\12.0\PowerPoint\File MRU]

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Office\12.0\Publisher\Recent File List]

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Office\12.0\Visio\Application]

• Do NOT launch Outlook at any time while profiling.

• Install Office 2007, Visio 2007, Project 2007, Office Communicator, and Service Pack 1 in the same profile whenever possible.

• After Office 2007 has been profiled, the below registry values should be deleted outside of isolation so that the profiler’s name and initials are removed from the Office2007 suite. From:

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\AIE\GUID\REGISTRY\USER\CurrentUser\SOFTWARE\Microsoft\Office\Common\UserInfo]
Delete “UserInitials”=””
Delete “UserName”=””




Did this article resolve your problem/question?

Yes
No
Need to test first
Not sure, I need help
Just browsing/General research


Report errors with this document
Knowledge Center


Free Training
Available for
Citrix Essentials!