How to create a Container for Internet Explorer

The following additional steps are required to create a Container to run IE 6 through to 10 applications in Enterprise Mode for Internet Explorer 11, including required run times.

Step-by-step guide

  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 Packaging Java for Internet Explorer.
  3. Optional, to aid debugging during development testing, enable full logging for the RunWorkflowLog.txt by editing the Cloudhouse.Container.Run.exe.config.
    <root>
        <level value="DEBUG"/>
        <appender-ref ref="RollingFileAppender"/>
    </root>
  4. Edit Programs.xml and edit the <RunCondition>initial</RunCondition> for the Java program and change it to run Internet Explorer, set the <Args> to the path for Internet Explorer, 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 short cuts you would like to create for the user, edit Shortcuts.xml.
  7. Optional, to aid debugging during development / test, enable full logging for AAV by editing AppAcceleratorV.clc.
    <AAV LogExe="Full" LogDll="Full">
  8. AAV needs to run as a 32-bit process for 32-bit Internet Explorer and legacy run times, edit AppAcceleratorV.clc and enable the feature NotWow64Process.
    <Features>
        <Feature>NotWow64Process</Feature>
    </Features>
  9. Test that Internet Explorer 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 the
    1. <date-created> 
    2. <site url=" to the url of the company's web application
    3. Set the version of IE in the <compat-mode> tag to the version the app  currently runs in e.g for IE9 apps set IE9Enterprise 
  12. <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>
  13. Edit Redirection.xml, to create redirections for Internet Explorer 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>
  14. Edit AppRegistry.xml to add the registry configuration for the browser application in Internet Explorer.
    <!--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>
  15. Test that 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.
  16. 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 key name and value can be added to AppRegistry.xml.

 <!-- 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.

Browser Compatiblity

Web applications that use deprecated APIs, for example some Java Script APIs, may fail to load the web page correctly, which may require you to configure Cloudhouse Browser Compatibility for IE Containers‍.

Was this article helpful?

Can't find what you're looking for?

Contact Support