Editing and Maintaining Containers

Application Files and Folders

To modify the application files, and folders included in a Container

  1. Open the Container folder in Windows Explorer.
  2. Contained within the ProgData folder are the application files and folders.
  3. Delete/Add or Modify any files required.

Registry Keys and Values

To modify the registry keys, and values included in a Container

  1. Open the Container folder in Windows Explorer.
  2. With an XML text editor open AppRegistry.xml.
  3. Each <Write> section represents a Key and Value along with its Name and Content.

Programs and Executables

To modify the Programs started by a Container's run conditions 

  1. Open the Cloudhouse Container folder in Windows Explorer
  2. With an XML text Editor open Programs.xml
  3. Each <Program> represents an executable within the package.


Valid Run Conditions

Run Conditions specify the commands that will be executed, either by short cuts, or by other user actions.

  • Initial, is the default action, and will run if no other Run condition have been specified.
  • Always, will run even when other run conditions are specified.
  • Custom Run Condition, these will only run when specified by the run Tool. For example Run1, RunAfter, RunBefore

If the Programs.xml file contains run conditions with the same name, then Cloudhouse.Container.Run.exe will execute both commands.

Multiple run conditions can be specified, for example Cloudhouse.Container.Run.exe /runcondition RunBefore Run1 RunAfter

Shortcuts

To modify the Shortcuts installed by a Container

  1. Open the Cloudhouse Container folder in Windows Explorer.
  2. With an XML text Editor open Shortcuts.xml.
  3. Each <Shortcut> section represents a Shortcut that will be created during deployment.
  4. The required /RunConditions can be found in Programs.xml.

File Type Associations

To modify the File Type Associations installed by a Container

  1. Open the Cloudhouse Container folder in Windows Explorer.
  2. With an XML text Editor open FileAssociations.xml.

Re-directions

To modify the file and registry re-directions used by the Container

  1. Open the Cloudhouse Container folder in Windows Explorer
  2. With an XML text Editor open Redirections.xml


Valid Re-directions

ExactMatch (File redirection)

FolderMatch (Folder re-direction)

KeyMatch (Registry Key/Value re-direction)


Add/ Remove Programs Entries

Containers  register the applications they deploy with Window's Add /Remote  Programs, default values are provided, and these can be changed by  editing the CHMetadata.json file to reflect desired names, for example  the name of the company who created the Container could be specified as  the Vendor, or the name of the publisher of the software that is  included in the Container.

  1. Open the Cloudhouse Container folder in Windows Explorer
  2. With an text Editor open CHMetadata.json, set the desired Name, Vendor for the application.


Configuring CHMetadata.json

{
    "PackageId": "IE_Java_Demo_4864",
    "IsTelemetryEnabled": "true",
    "TelemetryApiUrl": "https://qatelemetry.cloudhouse.com/telemetry",
    "Icon": "icon for container exe",
    "Name": "Name of the Application that appears in the Add/Remove details page",
    "Publisher": "Name of the Publisher as it should appear in Add/Remove Programs",
    "Version": "Version of the entry that appears in Add/Remove Programs"
}


Was this article helpful?

Can't find what you're looking for?

Contact Support