Share via


How to Sequence Microsoft Office 2010 to Use with App-v

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_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Sequencer\SxSAppExtensions

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/Add-VSL-to-Reg.jpg

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

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Sequencer\SxSAppExtensions

  • 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

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/seq-install-deployment-kit-300x150.jpg

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.V01\MsOffice
  • Start Sequencer and click on Create Package.
  • Click Begin Monitoring, and select Q:\OFF2010.V01

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/monitoring-300x181.jpg

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/seq-browes-Q-300x293.jpg

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

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/seq-monitore.jpg

  • In the File Location path choose Q:\OFF2010.V01\MsOffice

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/Install-Office-file-location.jpg

  • Leave User information Blank

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/Install-Office-user-data-300x243.jpg

  • Click install now and wait installation till finish successfully.

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/Install-Office.jpg

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/Install-Office-finish.jpg

Start Office Application during monitoring

  • Browse Q:\OFF2010.V01\MsOffice\Office14 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_ROOT\CLSID\9203C2CB-1DC1-482d-967E-597AFF270F0D}\TreatAs
  • HKEY_CLASSES_ROOT\CLSID\BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\TreatAs

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

  • HKEY_CLASSES_ROOT\Wow6432Node\CLSID\9203C2CB-1DC1-482d-967E-597AFF270F0D}\TreatAs
  • HKEY_CLASSES_ROOT\Wow6432Node\CLSID\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

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/add-delete1.jpg  http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/add-delete2.jpg

  • Add the following registry keys during monitoring

reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences” /v “{4154494E-BFF9-01B8-00AA-0037D96E0000}” /t REG_DWORD /d “1″ /f

reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences” /v “{C0A19454-7F29-1B10-A587-08002B2A2517}” /t REG_DWORD /d “1″ /f

reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences” /v “{70fab278-f7af-cd11-9bc8-00aa002fc45a}” /t REG_DWORD /d “1″ /f

reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences” /v “{c34f5c97-eb05-bb4b-b199-2a7570ec7cf9}” /t REG_DWORD /d “1″ /f

reg add “HKLM\SOFTWARE\Microsoft\Windows\Windows Search\Preferences” /v “{0077B49E-E474-CE11-8C5E-00AA004254E2}” /t REG_DWORD /d “1″ /f

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/add-reg01-300x151.jpg

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

reg add “HKCR\CLSID\3FD37ABB-F90A-4DE5-AA38-179629E64C2F}\InprocServer32″ /t REG_SZ /d “Q:\OFF2010.V01\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\OWSSUPP.DLL” /f

reg add “HKCR\CLSID\62B4D041-4667-40B6-BB50-4BC0A5043A73}\InprocServer32″ /t REG_SZ /d “Q:\OFF2010.V01\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\OWSSUPP.DLL” /f

reg add “HKCR\CLSID\9203C2CB-1DC1-482D-967E-597AFF270F0D}\InprocServer32″ /t REG_SZ /d “Q:\OFF2010.V01\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\OWSSUPP.DLL” /f

reg add “HKCR\CLSID\BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\InprocServer32″ /t REG_SZ /d “Q:\OFF2010.V01\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\OWSSUPP.DLL” /f

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/add-reg03.jpg

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 shared\virtualization handler\MapiServer.exe

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/add-proxy-MailTo-300x298.jpg

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

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/remove-shortcut-from-proxy-300x181.jpg

Proxy Virtual Search Host

%commonprogramfiles%\microsoft shared\virtualization handler\VirtualSearchHost.exe

Proxy Virtual OWSSupp Manager

%commonprogramfiles%\microsoft shared\virtualization handler\VirtualOWSSuppManager.exe

Proxy Virtual Mail Cpl

%windir%\system32\Control.exe Q:\OFF2010.V01\MsOffice\Office14\mlcfg32.cpl

Office Document Cache

****Q:\OFFICE2010.V01\MsOffice\Office14\MSOSync.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.

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/lunch-300x180.jpg

Now click next and finish Task Sequence

Configure Office 2010 Registry Settings

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

MACHINE\Software\Microsoft\Office\14.0

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

MACHINE\Software\Wow6432Node\Microsoft\Office\14.0

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/save-package-virtual-reg-300x222.jpg

Configure virtual applications to interact with the local environment

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

SOFTPKG -> IMPLEMENTATION -> VIRTUALENV -> POLICIES -> LOCAL_INTERACTION_ALLOWED.

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

http://www.ms-csm.com/Appv/wp-content/uploads/2010/07/client-300x152.jpg

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

Eng. Abduljalil Abolzahab

Microsoft Systems Engineer