Home > Blogs > VMware ThinApp Blog


ThinApp Microsoft Visio and Project 2010 while locally installed Microsoft Office 2010

While many are virtualizing Microsoft Office 2010 during a Proof Of Concept (POC) most companies decide to install Microsoft Office natively rather than virtualizing it. Both packaging method are valid but many times it’s easier and more efficient to have Office locally installed. That said, virtualizing Microsoft Visio and Project is a whole different ballgame. Virtualizing Visio/Project makes very much sense in many designs. There are quite a few KB articles and blog posts out there covering Office 2010 and it’s components. But so far I’ve yet to see a complete list of what is needed in order to build a Visio/Project package and have it coexist and to a certain degree integrate with native Office. So I started to collect all data I found on Internet. I ended up adding a couple thinks myself as well.

Follow these steps to successfully package Microsoft Visio and Project 2010 using ThinApp. Using this procedure will allow the package to coexist with natively installed Microsoft 2010 and integrate with Outlook (send email functionality).

IMPORTANT: Visio/Project should not be activated prior to the postscan. This means installing with the network adaptor disabled for KMS installations. The Capture VM must be clean (Vanilla OS plus MS patches, with just the VMware Tools and ThinApp 4.7.3)

1.         Copy .Net Framework 3.5 (only needed if you plan to include .Net in your package), Microsoft Visio 2010 or Project 2010, and any required Microsoft Visio/Project source files to C: drive.

2.         Disconnect the NIC

4.         Copy or extract the Microsoft Visio 2010 installation source to a location where the files can be edited.

5.         Locate config.xml. This is in a folder called suiteWW, where suite is replaced by the suite of Microsoft Visio 2010 you are installing.

6.         Add these lines to the bottom of the file, immediately above the last line which reads </Configuration>:

For KMS licensing activation:

<Setting Id=”KMSSERVICENAME” Value=”kmsserver.domain.com” />

<Setting Id=”AUTO_ACTIVATE” Value=”1″ />

<PIDKEY Value=”AAAAA-BBBBB-CCCCC-DDDDD-EEEEE” />

Note: Replace kmsserver.domain.com with the name of your KMS server.

Note: Replace AAAAA-BBBBB-CCCCC-DDDDD-EEEEE with correct product edition code (Visio Std, or Visio Pro, etc…).

7.         Save the modified config.xml.

8.         Launch ThinApp Capture, take a prescan

9.         Install .Net Framework if required to be included in package

10.       Install Visio/Project by running setup.exe from the modified installation source.

11.       Install any product service packs

12.       Once the product installed, open an elevated Command Prompt, and run those 2 commands:

C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE

net stop osppsvc

Note: The first command re-arms the license (it resets the CMID used of KMS licensing), while the second turns the Office Protection Platform service off.

13.       Run ThinApp postscan

14.       Change the Inventory name to something appropriate for your use.

15.       Move the OfficeSoftwareProtectionPlatform folder from %drive_C%\Documents and Settings\All Users\Microsoft to %Common AppData%\Microsoft

16.       Set the following folders to MERGED by editing the ##ATTRIBUTES.INI in the root of each, if those folders do not exists, you MUST create them.

%APPDATA%\MICROSOFT\AddIns\

%APPDATA%\MICROSOFT\Office\

%APPDATA%\MICROSOFT\Outlook\

%LOCAL APPDATA%\MICROSOFT\Outlook\

%LOCAL APPDATA%\MICROSOFT\FORMS\

%TEMP%\

%APPDATA%\MICROSOFT\

%LOCAL APPDATA%\

Set the following folder and subfolders to WRITECOPY

 %Program Files Common%

%ProgramFilesDir%

17.       Put the following in HKEY_CURRENT_USER.txt:

 isolation_writecopy HKEY_CURRENT_USER\Environment

Value=ALLUSERSPROFILE

REG_SZ~%Common AppData%

 

isolation_merged HKEY_CURRENT_USER\Identities

 

isolation_writecopy HKEY_CURRENT_USER\Software\Microsoft\Office

 

isolation_merged HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security

 

isolation_merged HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem

 

18.       Put the following at the beginning of HKEY_LOCAL_MACHINE.txt:

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{32820823-eb9f-42bf-badb-4482911536bb}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{32f506a9-36f4-45ca-a3b7-e220e2fadcfc}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{0b6faa6c-afa9-4c9f-92a9-d1b9e13e49e7}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{b3fd0790-e46d-44d8-a88c-fcd99771da5e}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{4918cead-10bb-4345-b406-c0096b646c24}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{80f8087e-f900-4c25-b7fb-66ddf3ad2685}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{2fe7e56b-8195-4c8f-a199-fde2e4e09456}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{f1f1e3ad-0dff-41f3-96d0-11b3aa4f0c96}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{c722abe9-52ee-45de-b7aa-1cb7f27dac05}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{458b6290-216a-410c-bdc8-24008876301b}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{491ccf72-9e19-45bc-8a78-5e8c8be7f464}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{529c81ad-3788-4f3d-8c1c-71ccf202de21}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{2b402eec-0c7f-447c-8d44-e816888b1115}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{ce175ea0-8692-4968-b769-1b0029498a41}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{b69b7cc0-0e89-46d0-a99e-abddd4b61743}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{de5206e8-c4ad-42cc-bd53-8cbb3558e80c}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{f9285c37-8314-4516-89d5-e4932dc92de6}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{dce06134-5696-4fa8-b13e-51aad6def5d9}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{fc4fc45c-be7e-4704-99ac-951db77b91dc}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{947a7174-52b0-44f2-bfb6-7f3e07843277}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{69c6e0d2-c565-4d52-9930-d46c4116f708}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{aedd0615-3da5-4d6a-abde-63cedf4e80a4}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{23a22094-b01e-43cf-a372-6d4ee6d9eabf}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{22c493c3-99e2-45e9-a739-ee497e141be3}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{d049f335-4ac7-4400-b449-c532f4876693}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{8d2d2f50-cdf0-45cb-8949-9a39ade5cb7a}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{3ff290b5-342b-40dd-a66b-00e76c0e5b80}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{3086391e-945a-44f8-880a-24d7eee14dae}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{2f9a3248-de98-4b16-b56c-0cdc2d4d3d42}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{23b98090-64e4-400f-9107-921a78bc2cdd}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{8d95965c-956f-4eed-a18f-cf18e6d31e88}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{4530f183-15be-4eba-8bef-e68b6686b921}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{7f76b468-81a6-49ec-9c38-069143206618}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{37d23cc0-470c-4312-a01c-77e1c6e0ad61}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{b17b4b81-bb80-4c17-871c-57d5ab14991d}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{b2e79a4f-f632-43af-86dc-191cd03082ae}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{ea2c0345-2c36-45d4-9692-6972ce4e96c6}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{35dee61f-342b-41a2-acdb-2e207760af1b}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{8c74e7e1-d44a-4cce-9ec0-144a0e037d43}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{816b6d90-87e6-430f-a5fd-734be662bb55}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{a5fb8c3a-6da1-4438-a6cf-44c589aa2665}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{6a4a43f1-4846-4c4b-9a70-c4eac0184d97}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{c3fe9663-9bde-40dd-ae25-f2f8aa2d6b1a}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{26cd69c4-d593-4936-a8bb-e592816a0fad}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{ad89527a-aed4-4382-be23-19be89f9d01e}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{c00469cb-209b-4823-94bb-4139e48f5923}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{a5ce878d-59a9-48ae-8e0a-ed717267302d}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{1a821936-fee1-43a8-8222-87f4e049afb9}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{a5e4db17-4067-4d19-9812-2e3b879b8a35}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{712cbb5d-58be-48dc-b930-c8362f63fdee}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{f986cdbd-8807-418a-adbd-b8ddbf92c590}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{8abec68c-a5d1-40f5-966c-501dddf5c3fe}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{cc0569bb-bde5-4d6b-ac65-b1fa7a227258}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{fbdc5f1a-0b96-4b9e-8f17-df17a3dc59ef}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{17e35d4e-df3a-4a2b-83be-a1b17e710e8a}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{a1971a89-4e84-41d9-b3e0-18a109146bff}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{f4bc39d7-c2c0-40f1-8e59-fe9bd797d755}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{0b753f3d-cf41-42b6-8289-b7a8d334e8f9}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{9d9abca5-0a0b-485a-a962-d1b983ec8274}

deleted HKEY_LOCAL_MACHINE\Software\Classes\AppID\{d19d1258-ada6-40e1-b4d6-5d160e2ebfc9}

 

isolation_full HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Search\Preferences

Value=PreventIndexingOutlook

REG_DWORD=#01#00#00#00

 

isolation_merged HKEY_LOCAL_MACHINE\Software\Clients

 

isolation_merged HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00004109A10090400000000000F01FEC

 

isolation_merged HKEY_LOCAL_MACHINE\Software\Classes\Installer\Components\0470D1FF722D1D114A0B000680FA28E0

 

isolation_writecopy HKEY_LOCAL_MACHINE\Software\Microsoft\Office\14.0\User Settings\Outlook_Intl

Value=Count

REG_DWORD=#01#00#00#00

Value=Order

REG_DWORD=#01#00#00#00

19.       In PACKAGE.INI uncomment the line VirtualizeExternalOutOfProcessCOM=0

and add:

 ChildProcessEnvironmentExceptions=WINWORD.EXE;EXCEL.EXE;POWERPNT.EXE;OUTLOOK.EXE;MOC.EXE

ChildProcessEnvironmentDefault=Virtual

ExternalDLLs=mso.dll

20.       %Program Files Common%\microsoft shared\OFFICE14\MSO.DLL to MSO.DLL.OLD.

21.       Build your project folder by running build.bat.

(Make sure to get rid of any extra line breaks when copying text from this post into your registry files.)

Many thanks @DooDleWilk for your feedback on the post.

5 thoughts on “ThinApp Microsoft Visio and Project 2010 while locally installed Microsoft Office 2010

  1. Pingback: ThinApp Microsoft Visio and Project 2010 while locally installed Microsoft Office 2010 - VMware ThinApp - BrianMadden.com

  2. Pingback: Virtualize Microsoft Visio 2010 and Project 2010 while Microsoft Office 2010 is installed locally | HorizonFlux

  3. Pingback: ThinApp Microsoft Visio and Project 2010 while locally installed Microsoft Office 2010 at That's my View

  4. MisterKey

    Has someone succeeded to virtualize Microsoft Visual Studio 2010/2012?

    I tried, but I receive this message when run the virtualized app: “Invalid license data. Reinstall is required.”

Comments are closed.