Cloudhouse Container XML Snippet Templates

Templates of XML snippets used in the XML configuration files for Cloudhouse Containers

AppRegistry.xml

<?xml version="1.0"?>
<RegistryOperations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" NeedToBeDecoded="true" ValidateWrite="false">
<Write>
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software</KeyName>
    <ValueName />
    <Value xsi:nil="true" />
</Write>
<Write>
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software</KeyName>
    <ValueName>DemoRegistryKey</ValueName>
    <Value ValueType="String">DemoRegistryKeyData</Value>
</Write>
<Write>
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software</KeyName>
    <ValueName>DemoRegistryKey</ValueName>
    <Value ValueType="DWord">0</Value>
</Write>
<Write>
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software</KeyName>
    <ValueName>DemoRegistryKey</ValueName>
    <Value ValueType="Binary">01,00,01,00,01,10,01,01,01,10,11,01,01,10,11,11,01,01,00,10,01,10,01,01,01,10,01,11,01,10,10,01,01,11,00,11,01,11,01,00,01,11,00,10,01,11,10,01,01,00,10,11,01,10,01,01,01,11,10,01,01,00,01,00,01,10,00,01,01,11,01,00,01,10,00,01</Value>
</Write>
<Write>
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKCU\Software</KeyName>
    <ValueName>DemoRegistryKey</ValueName>
    <Value ValueType="MultiString">DemoRegistry&gt;KeyValue</Value>
</Write>
</RegistryOperations>

DeploymentScript.xml

<Deployment>
    <Install>
    <!--
        <Programs>
            <Program Order="0">
            <ProcessWindowStyle>Normal</ProcessWindowStyle>
            <Path>Program2</Path>
            <Args>arg2</Args>
            <WaitCondition TimeoutInSeconds="0">None</WaitCondition>
            </Program>
        </Programs>-->
    </Install>
    <Uninstall>
    <!--
        <Programs>
            <Program Order="0">
            <ProcessWindowStyle>Normal</ProcessWindowStyle>
            <Path>Program2</Path>
            <Args>arg2</Args>
            <WaitCondition TimeoutInSeconds="0">None</WaitCondition>
            </Program>
        </Programs>-->
    </Uninstall>
</Deployment>

EnvironmentVariables.xml

<?xml version="1.0"?>
<Variables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Variable Name="Path" Value="C:\Demo\Path" Append="true" />
  <Variable Name="Home" Value="C:\Demo\Path\Folder" Append="false" />
</Variables>

FileAssociations.xml

<?xml version="1.0"?>
<RegistryOperations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" NeedToBeDecoded="true" ValidateWrite="false">
  <Write>
    <KeyName>HKEY_CURRENT_USER\SOFTWARE\Classes\.extension</KeyName>
    <ValueName />
    <Value xsi:nil="true" />
  </Write>
</RegistryOperations>

Redirections.xml

<FileSystem>
    <FolderMatch>
         <From>C:\Absolute\Path\DemoFolder</From>
         <To>ProgData\DemoFolder</To>
    </FolderMatch>
    <FolderMatch>
         <From>%Windows%\DemoFolder</From>
         <To>ProgData\WINDOWS\DemoFolder</To>
    </FolderMatch>
    <ExactMatch>
         <From>%SystemX86%\DemoFile.dll</From>
         <To>ProgData\WINDOWS\system32\DemoFile.dll</To>
    </ExactMatch>
</FileSystem>
<Registry>
    <VirtualRoot>HKCU\Software\Cloudhouse\AppAccelerator\ContainerGUID</VirtualRoot>
    <Redirects>
        <KeyMatch>
            <From>HKCU\Software\DemoApp</From>
        </KeyMatch>
        <KeyMatch>
            <From>HKLM\Software\DemoApp</From>
        </KeyMatch>
<!-- Key Match for a specific registry key -->
        </KeyMatch>
            <From>HKCU\Software\Microsoft\Internet Explorer\Main\TabProcGrowth</From>
        </KeyMatch>
    </Redirects>
</Registry>

Shortcuts.xml

<?xml version="1.0"?>
<Shortcuts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Shortcut>
    <Path>%DesktopDirectory%\Path\To\Demo\Application\Shortcut.lnk</Path>
    <Target>%DefaultDir%\Cloudhouse.Container.Run.exe</Target>
    <Args>/Runconditions run1</Args>
    <Description>Demo Application</Description>
    <IconLocation>%DefaultDir%\Path\To\Icon\File.exe/ico</IconLocation>
    <IconIndex>0</IconIndex>
    <WorkingDir />
</Shortcut>
</Shortcuts>

Programs.xml

<?xml version="1.0"?>
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Program>
    <RunCondition>Initial,run1,run2</RunCondition>
    <ProcessWindowStyle>Normal</ProcessWindowStyle>
    <Path>%DefaultDir%\AppAcceleratorV.exe</Path>
    <Args>/f "%DefaultDir%\ProgData\Path\To\Demo\Executable"</Args>
    <WorkingDirectory />
    <WaitCondition TimeoutInSeconds="0">None</WaitCOndition>
</Program>
</Programs>



Was this article helpful?

Can't find what you're looking for?

Contact Support