How to Create a Cloudhouse Compatibility Container to run Internet Explorer applications in Enterprise Mode

Save to PDF

Applies to: Auto Packager, Cloudhouse Compatibility Containers

13/07/2019 Cliff Hobbs

Purpose

This article details the additional steps required to create a Cloudhouse Compatibility Container™ to run Internet Explorer (IE) version 6-10 applications in Enterprise Mode for IE 11, along with their required run times.

Step-by-step process

To create a Cloudhouse Container to run IE 6-10 applications in Enterprise Mode for IE 11 (including run times):

  1. Use the Auto Packager to create a Container for the run times that the browser-based application uses e.g. Java.
  2. For IE Containers that need to run on Windows 10 and include Java, follow steps described in How to Package Java for Internet Explorer.
  3. Optionally, to aid debugging during development/testing, enable full logging for the RunWorkflowLog.txt by editing the Cloudhouse.Container.Run.exe.config file in a text editor.
    <root>
        <level value="DEBUG"/>
        <appender-ref ref="RollingFileAppender"/>
    </root>
  4. Edit Programs.xml and edit the <RunCondition>initial</RunCondition> setting for the Java program and change it to run IE, by setting the <Args> to the path for IE and the URL for the corporate application.
  5. Create a <Program> entry for run1
    <Program>
        <RunCondition>run1</RunCondition>
        <ProcessWindowStyle>Normal</ProcessWindowStyle>
        <WaitUntilCondition>None</WaitUntilCondition>
        <Path>%DefaultDir%\AppAcceleratorV.exe</Path>
        <Args>/f "%ProgramFilesX86%\Internet Explorer\iexplore.exe" http://iedemo.cloudhouse.com/demo.htm -noframemerging</Args>
        <WorkingDirectory />
    </Program>
  6. Configure any desktop shortcuts you would like to create for the user by editing Shortcuts.xml
  7. Optionally, to aid debugging during development/testing, enable full logging for AAV by following the relevant section of the Step-by-step process section of How to enable Container (AAV) logging for the version of AAV you are running.
  8. AAV needs to run as a 32-bit process for 32-bit IE and legacy run times, so edit AppAcceleratorV.clc and enable the NotWow64Process as detailed in How to prevent WOW64 redirections and force process to be 32-bit (NotWow64Process).
  9. Test IE 11 launches and goes to the URL specified in the <Args>, IE will prompt for you to unblock and allow the out-of-date run times to execute, select 'Run this time'.
    Cloudhouse.Container.Run.exe
  10. Create a file called SiteList_v2.xml using the Microsoft Enterprise Mode Site List Manager tool and save a copy in the Container's root directory.
  11. Alternatively, use the Code Block below as an example and change:
    • <date-created>
    • <site url="value"> to the URL of the company's web application
    • Set the version of IE in the <compat-mode> tag to the version the app currently runs in. For example, for IE8 apps set IE8Enterprise
      <site-list version="50000">
        <created-by>
          <tool>EMIESiteListManager</tool>
          <version>10.0.14357.1004</version>
          <date-created>07/13/2016 17:25:38</date-created>
        </created-by>
        <site url="iedemo.cloudhouse.com">
          <compat-mode>IE8Enterprise</compat-mode>
          <open-in>IE11</open-in>
        </site>
      </site-list>
  1. Edit Redirection.xml to create redirections for IE configurations to use the configuration provided in AppRegistry.xml(next step).
    <!-- Configure IE redirects for Trusted Sites & Enterprise Mode -->
      <KeyMatch>
          <From>HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains</From>
      </KeyMatch>
      <KeyMatch>
          <From>HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges</From>
      </KeyMatch>
      <KeyMatch>
          <From>HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer</From>
      </KeyMatch>
      <KeyMatch>
          <From>HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Main</From>
      </KeyMatch>
      <KeyMatch>
          <From>HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode</From>
      </KeyMatch>
  2. Edit AppRegistry.xmlto add the registry configuration for the browser application in IE.
    <!--IE CONFIGURATION -->
     <!-- Trusted Sites for domain name -->
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\cloudhouse.com\iedemo</KeyName>
         <ValueName>http</ValueName>
         <Value ValueType="DWord">2</Value>
     </Write>
    
     <!-- Trusted Sites for IP address -->
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1</KeyName>
         <ValueName>:Range</ValueName>
         <Value ValueType="String">IP ADDRESS GOES HERE</Value>
     </Write>
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1</KeyName>
         <ValueName>http</ValueName>
         <Value ValueType="DWord">2</Value>
     </Write>
    
     <!-- EMIE -->
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode</KeyName>
         <ValueName>Enable</ValueName>
         <Value ValueType="String" />
     </Write>
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode</KeyName>
         <ValueName>SiteList</ValueName>
         <Value ValueType="String">file:///%DefaultDir%\SiteList_v2.xml</Value>
     </Write>
     
     <!-- Configure Locked down browsing by hiding menus, command bars, and browsing-->
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Main</KeyName>
         <ValueName>AlwaysShowMenus</ValueName>
         <Value ValueType="DWord">0</Value>
     </Write>
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions</KeyName>
         <ValueName>NoCommandBar</ValueName>
         <Value ValueType="DWord">1</Value>
     </Write>
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions</KeyName>
         <ValueName>NoNavBar</ValueName>
         <Value ValueType="DWord">1</Value>
     </Write>
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\IEDevTools</KeyName>
         <ValueName>Disabled</ValueName>
         <Value ValueType="DWord">1</Value>
     </Write>
     <Write>
         <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Main</KeyName>
         <ValueName>DisableFirstRunCustomize</ValueName>
         <Value ValueType="DWord">1</Value>
     </Write>
  3. Test Enterprise Mode has been enabled correctly by running the application. The browser should start and show the configured URL without asking to enable out of date run times. Browsing controls and menu bars should be hidden.
  4. Once the browser application starts successfully, test the Container by deploying it to a new desktop.

Compatibility View Mode

If Enterprise Mode on its own is insufficient and the browser application requires other rendering options, an additional <KeyName> and value can be added to AppRegistry.xml as shown below.

 <!-- Compatibility View Mode -->
 <Write>
     <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData</KeyName>
     <ValueName>UserFilter</ValueName>
     <Value ValueType="Binary">41,1f,00,00,53,08,ad,ba,01,00,00,00,3a,00,00,00,01,00,00,00,01,00,00,00,0c,00,00,00,b4,48,6a,6b,cc,70,d2,01,01,00,00,00,0e,00,63,00,6c,00,6f,00,75,00,64,00,68,00,6f,00,75,00,73,00,65,00,2e,00,63,00,6f,00,6d,00</Value>
 </Write>

Note

You will need to change the binary value to reflect the correct web address for the browser application.


Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support