Home > Blogs > VMware ThinApp Blog


Enabling “Send As Email Attachment” in ThinApp packages when Outlook is installed natively

Here are the procedures for how to get a ThinApp packaged application such as Visio 2007 to work with a natively installed Outlook:

  1. Capture Visio 2007 (or other app such as Project) on a clean system where Office/Outlook 2007 is already installed and configured with account using PST (or cached Exchange mode).
  2. Conduct capture of application according to application specifications (i.e. Native app configuration and testing prior to ThinApp Post Installation Setup Capture).
  3. During capture, set default file system isolation to MERGED.
  4. Once captured, make the following modifications to the Visio 2007 project.
    • A. In Explorer, create the following six folder structures as MERGED folders in the project:
    • %APPDATA%\MICROSOFT\AddIns\
      %APPDATA%\MICROSOFT\Office\
      %APPDATA%\MICROSOFT\Outlook\
      %LOCAL APPDATA%\MICROSOFT\Outlook\
      %LOCAL APPDATA%\MICROSOFT\FORMS\
      %TEMP%\
      

    • B. Add the following lines to the HKEY_CURRENT_USER.txt file:
    • isolation_merged HKEY_CURRENT_USER\Identities
      isolation_merged HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem
      isolation_merged HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security
      

      Note: Remember to make certain to leave a blank space between the bottom of that section and the top of the next section. See the example Figure 1 at the bottom of this posting.

    • C. Add the following lines to the HKEY_LOCAL_MACHINE.txt file:
    • isolation_merged HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109A10090400000000000F01FEC
      isolation_merged HKEY_LOCAL_MACHINE\Software\Clients
      

      Note: Remember to make certain to leave a blank space between the bottom of that section and the top of the next section. See the example Figure 1 at the bottom of this posting.

    • D. Modify the PACKAGE.INI and add the following three lines under the BUILD OPTIONS section (preferably in the General Purpose Parameters subsection):
    • [Build Options]
      ;-------- General Purpose Parameters  ----------
      VirtualizeExternalOutOfProcessCOM=0
      ChildProcessEnvironmentExceptions=Outlook.exe
      ChildProcessEnvironmentDefault=Virtual
      

Now, when running Visio 2007 as a ThinApp on a system where Office 2007 (with Outlook) exists natively and is configured to use a PST (or cached Exchange mode), when using FILE | SEND TO | MAIL RECIPIENT (AS ATTACHMENT) from within Visio, a new email with the attachment will fire up regardless of whether Outlook is running or not.

NOTE: Per standard Outlook functionality, if Outlook is NOT open during this process, the email will NOT be sent until Outlook is opened the next time.



Figure 1:

When editing the ThinApp Project Registry, it is necessary to leave a blank space between the end of one section and the beginning of the next.

Registry Hive Text File Editing

This entry was posted in Applications, Office, Tips, Troubleshooting and tagged , , on by .
Dean Flaming

About Dean Flaming

Dean is currently an EUC Architect and member of the VMware End User Computing Enablement and Lighthouse Support teams, working to develop communications and IP around VMware End User Computing products and solutions as well as support many various Lighthouse accounts with their own EUC practices. Prior to this, from 2008 through 2012 Dean was one of VMware's End User Computing Specialists. Throughout his time at VMware, Dean has also written and published various articles, videos, and podcasts regarding VMware's EUC Solutions.