VMware Horizon Community
JMac201110141
Contributor
Contributor

Visio 2010 on Windows 7 (License error)

I have been unable to package MS Visio 2010 with ThinApp 4.7.2 due to a license issue.

After launching the ThinApp on Windows 7 (32 bit) the attached error appears.

I followed the instructions here: http://blogs.vmware.com/thinapp/2011/02/quick-start-guide-for-deploying-office-2010-using-thinapp-46...

And here:  http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=102228...

I also read numerous threads on the VMWare Community forums and tried every suggestion without success.

I cannot get it to work either on a clean Windows 7 build or one with Office 2010 on the image.

The packaging machine is Windows XP SP3.

I also tried packaging on a Windows 7 image without success.

Any suggestions would be greatly appreciated.

Cheers,

Johnny

Reply
0 Kudos
3 Replies
admin
Immortal
Immortal

Does the package run fine on a clean WinXP? Can you try stopping the Office Software Protection Service before postscan, also verify the native Visio run fine on the Win7?

JMac201110141
Contributor
Contributor

In the end it turned out that our packaging image was not 100% clean, containing some .NET 2.0 and MS Visual C++ components, which I believe were interfering with the capture.

Good call on getting it working on XP first though. I wasted a fair bit of time trying to get it working on Windows 7 without checking that it worked on XP first.

Reply
0 Kudos
JMac201110141
Contributor
Contributor

In case anyone is interested, these are the steps I followed. Some parts are from VMWare, some parts are tips from these forums, and a few were from trial and error.

These are for packaging for a Windows 7 environment where Office 2010 is installed on the base image.

IMPORTANT: Visio should not be activated prior to the postscan for Visio and Project 2010. This means installing with the network adaptor disabled for KMS installations.

  1. Copy .NET Framework 3.5, Microsoft Visio 2010, and Microsoft Visio SP1 source files to C: drive.
  2. Launch ThinApp prescan.
  3. Install Microsoft.NET Framework 3.5.
  1. Copy or extract the Microsoft Visio 2010 installation source to a location where the files can be edited.
  2. Locate config.xml. This is in a folder called suiteWW, where suite is replaced by the suite of Microsoft Visio 2010 you are installing.
  3. Add these lines to the bottom of the file, immediately above the last line which reads </Configuration>:
    1. For KMS licensing activation:

      <Setting Value="kmsserver.domain.com" />
      <Setting Value="1" />

      Note: Replace kmsserver.domain.com with the name of your KMS server.
  4. Save the modified config.xml.
  5. Take a prescan, then double-click setup.exe from the modified installation source.
  6. Accept the terms of agreement.
  7. On the Choose the installation you want dialog box, click the Customize button.
  8. Modify all features to be set as ‘Run all from My Computer’.
  9. Click Install Now to install Microsoft Visio 2010.
  10. Install Microsoft Visio 2010 Service Pack 1.
  11. Run ThinApp postscan
  12. Change the Inventory name to something appropriate for your use.
  13. Before building the project , move the OfficeSoftwareProtectionPlatform folder from %drive_C%\Documents and Settings\All Users\Microsoft to %Common AppData%\Microsoft
  14. Set the following folders to MERGED by editing the ATTRIBUTES.INI in the root of each.
%APPDATA%\MICROSOFT\AddIns\
%APPDATA%\MICROSOFT\Office\
%APPDATA%\MICROSOFT\Outlook\
%LOCAL APPDATA%\MICROSOFT\Outlook\
%LOCAL APPDATA%\MICROSOFT\FORMS\
%TEMP%\

Set the following folder and subfolders to WRITECOPY

%Program Files Common%
%ProgramFilesDir%


    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

    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

Integration with native Outlook 2010:

1.       In Package.ini uncomment the line VirtualizeExternalOutOfProcessCOM=0 .

Set the following folders to MERGED

%APPDATA%\MICROSOFT\AddIns\
%APPDATA%\MICROSOFT\Office\
%APPDATA%\MICROSOFT\Outlook\
%LOCAL APPDATA%\MICROSOFT\Outlook\
%LOCAL APPDATA%\MICROSOFT\FORMS\
%TEMP%\
Reply
0 Kudos