How to Sequence Microsoft Office 2010

Description

This article describes step by step how you can successfully sequence Microsoft Office 2010 to use it with Microsoft Application Virtualization technology.

My article is based on my successfully sequencing, Microsoft article 983462 “Prescriptive guidance for sequencing Office 2010 in Microsoft App-V” and article from Independent App-v Blog.

Environment

1-      Domain Controller.

2-      Microsoft Application Virtualization Server 4.5

3-      Microsoft  Application Virtualization Sequencer 4.6

4-      Microsoft Application Virtualization client 4.6

Sequence Microsoft Office 2010

Please follow the below steps to successfully sequence Microsoft Office 2010 32 bit Edition.

Prepare Sequence Machine

  • On App-V 4.6, add the value vsl to the multi-string value for the following registry key:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftSoftGrid4.5SequencerSxSAppExtensions

Note: If you have 64-bit Sequencer systems, this is the registry key:

HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftSoftGrid4.5SequencerSxSAppExtensions

  • Set Windows Search Service to Automatic or Manual.

If sequencer is Microsoft Windows XP, you need to install Windows Search 4.0, by default it’s installed on Microsoft Windows 7.

  • If Sequencer is Microsoft Windows XP, download and install XPS Viewer, by default it’s installed on Windows 7.
  • Set Windows Update Service to disabled.
  • Install Microsoft Application Virtualization Sequencer 4.6.
  • Download Microsoft Office Deployment Kit for App-v and extract file to specific path.
  • Run command prompt as Administrator and go to Deployment Kit path.
  • Run the following command

msiexec /i OffVirt.msi [feature flags][licensing flags]

Feature Flags:

Feature Flags is depend on Microsoft Application Virtualization Sequencer Operating System

32bit:ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core
64bit:ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core,OSppWoW64

License Flags:

You have three options:

  • KMS Activation: for more information please checks article “Prescriptive guidance for sequencing Office 2010 in Microsoft App-V” for more information.
  • MAK activation: We can use VAMT 2.0 to install product key on office 2010 which is recommended by Microsoft or use the 2nd option PIDKEYS

PIDKEYS= XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX USEROPERATIONS=1

Note: Set USEROPERATIONS value to 1 if you want to allow user to activate office, 0 mean only administrator can activate.

So the command to install Development kit will be as the following:

msiexec /i OffVirt.msi ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core PIDKEYS= XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX USEROPERATIONS=1

Sequence Office 2010

  • Go to Q: Drive and create a new folder name OFF2010.V01MsOffice
  • Start Sequencer and click on Create Package.
  • Click Begin Monitoring, and select Q:OFF2010.V01

  • When Monitor Installation Pointer move to install the application and then click stop Monitoring, Start Installation.

  • In the File Location path choose Q:OFF2010.V01MsOffice

  • Leave User information Blank

  • Click install now and wait installation till finish successfully

Start Office Application during monitoring

  • Browse Q:OFF2010.V01MsOfficeOffice14 and start Word, Excel, and PowerPoint…etc.
  • This step configures the first start use settings, you can customize your office setting.

Configure Additional Proxies

  • In this step we need to create some registry key and delete them so the sequencer monitor the delegation of newly added keys

If you are sequencing on a 32-bit operating system, the keys are as follows:

  • HKEY_CLASSES_ROOTCLSID{9203C2CB-1DC1-482d-967E-597AFF270F0D}TreatAs
  • HKEY_CLASSES_ROOTCLSID{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}TreatAs

If you are sequencing on a 64-bit operating system, the keys are as follows:

  • HKEY_CLASSES_ROOTWow6432NodeCLSID{9203C2CB-1DC1-482d-967E-597AFF270F0D}TreatAs
  • HKEY_CLASSES_ROOTWow6432NodeCLSID{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}TreatAs

In my example, I’m sequencing on 32-bit Operating system, so I may run the following commands to add and delete registry keys

  • Add the following registry keys during monitoring

reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{4154494E-BFF9-01B8-00AA-0037D96E0000}” /t REG_DWORD /d “1” /f
reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{C0A19454-7F29-1B10-A587-08002B2A2517}” /t REG_DWORD /d “1” /f
reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{70fab278-f7af-cd11-9bc8-00aa002fc45a}” /t REG_DWORD /d “1” /f
reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{c34f5c97-eb05-bb4b-b199-2a7570ec7cf9}” /t REG_DWORD /d “1” /f
reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{0077B49E-E474-CE11-8C5E-00AA004254E2}” /t REG_DWORD /d “1” /f

  • Run also the following commands to add additional registry keys but please check office installation path before exciting.

reg add “HKCRCLSID{3FD37ABB-F90A-4DE5-AA38-179629E64C2F}InprocServer32” /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

reg add “HKCRCLSID{62B4D041-4667-40B6-BB50-4BC0A5043A73}InprocServer32” /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

reg add “HKCRCLSID{9203C2CB-1DC1-482D-967E-597AFF270F0D}InprocServer32” /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

reg add “HKCRCLSID{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}InprocServer32” /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

Complete Office Sequencing

  • Click Stop Monitoring.
  • Click Next to end the monitoring.
  • On The Configure Application select Application Root, and add the following applications.
    Proxy MailTo

%commonprogramfiles%microsoft sharedvirtualization handlerMapiServer.exe

Note: Proxies don’t required short cut so we may remove it from wizard.

Proxy Virtual Search Host

%commonprogramfiles%microsoft sharedvirtualization handlerVirtualSearchHost.exe

Proxy Virtual OWSSupp Manager

%commonprogramfiles%microsoft sharedvirtualization handlerVirtualOWSSuppManager.exe

Proxy Virtual Mail Cpl

%windir%system32Control.exe Q:OFF2010.V01MsOfficeOffice14mlcfg32.cpl

Office Document Cache

Q:OFFICE2010.V01MsOfficeOffice14MSOSync.exe

  • Synchronize all application OSD file versions with the proxy OSD version
    • Right Click on Setup.exe file.
    • Go to Version Tab
    • Change the version of all OSD to match this version
  • Start Application to create Virtual block

Note: Microsoft didn’t recommend starting OneNote, Outlook, or SharePoint because of the customization settings that are better preserved.

Now click next and finish Task Sequence

Configure Office 2010 Registry Settings

  • Set the following  registry Key to “Merge with local”

MACHINESoftwareMicrosoftOffice14.0

Note: if Sequencer Operating system is 64-bit, you need to set the following registry key

MACHINESoftwareWow6432NodeMicrosoftOffice14.0

Configure virtual applications to interact with the local environment

For each OSD file, add TRUE to the following Element field of the tag:

SOFTPKG -> IMPLEMENTATION -> VIRTUALENV ->

<POLICIES>

<LOCAL_INTERACTION_ALLOWED>TRUE</LOCAL_INTERACTION_ALLOWED>

</POLICIES>

Configure Client Machine to use Office 2010 virtual Package:

  • Install App-v Client 4.6
  • Download and extract Microsoft Office Deployment Kit for App-v
  • Run Command Prompt as administrator, and go to Deployment Kit path
  • Run the following command

msiexec /i OffVirt.msi PIDKEYS= XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX USEROPERATIONS=1

  • To enable the virtual proxies for the package open a command prompt as an administrator. Run the following command:

msiexec /I OffVirt.msi ADDDEFAULT=Click2runOneNoteProxy,Click2runOutlookProxies,Click2runWDSProxy,Click2runOWSSuppProxies PACKAGEGUID={SFT package GUID} PACKAGEVERSION=versions found in OSD files for proxies, Outlook, and OneNote OUTLOOKNAME=app name for Outlook from OSD ONENOTENAME=app name for OneNote from OSD MAPISERVER=MAPI proxy app name VIRTUALSEARCHHOST=Search proxy app name MLCFG32CPL=app name for virtual mail configuration OWSSUPPServer=app name for SharePoint proxy

If you have question or you need any help, you may post it to our Technical Forum

Abduljalil Abolzahab

11 thoughts on “How to Sequence Microsoft Office 2010

  1. Great article. Can you shed some light on what the following registry keys are for? I have basically sequenced Office 2010 with all of the same steps you used, except i have not added the registry keys below that you did. I am seeing some issues with Sharepoint integration not working and wonder if it is related.

    reg add “HKCRCLSID{3FD37ABB-F90A-4DE5-AA38-179629E64C2F}InprocServer32″ /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

    reg add “HKCRCLSID{62B4D041-4667-40B6-BB50-4BC0A5043A73}InprocServer32″ /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

    reg add “HKCRCLSID{9203C2CB-1DC1-482D-967E-597AFF270F0D}InprocServer32″ /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

    reg add “HKCRCLSID{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}InprocServer32″ /t REG_SZ /d “Q:OFF2010.V01VFSCSIDL_PROGRAM_FILESMicrosoft OfficeOffice14OWSSUPP.DLL” /f

    and

    reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{4154494E-BFF9-01B8-00AA-0037D96E0000}” /t REG_DWORD /d “1″ /f
    reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{C0A19454-7F29-1B10-A587-08002B2A2517}” /t REG_DWORD /d “1″ /f
    reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{70fab278-f7af-cd11-9bc8-00aa002fc45a}” /t REG_DWORD /d “1″ /f
    reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{c34f5c97-eb05-bb4b-b199-2a7570ec7cf9}” /t REG_DWORD /d “1″ /f
    reg add “HKLMSOFTWAREMicrosoftWindowsWindows SearchPreferences” /v “{0077B49E-E474-CE11-8C5E-00AA004254E2}” /t REG_DWORD /d “1″ /f

  2. Hey how are you doing? I just wanted to stop by and say that it’s been a pleasure reading your blog. I have bookmarked your website so that I can come back & read more in the future as well. plz do keep up the quality writing

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s