Testing Applications in Containers
20/02/2018 Stuart Moore
Containers do not need to be deployed to test the application, the application can be run from within the Container's current directory which can be helpful for testing the outcome of the packaging process, as part of the UAT process. The application can be launched from the Container from any location, including UNC paths.
Note: Shortcuts and file type associations
Launching the application from within the Container will not install, or register the shortcuts or file type associations, these are only created when the Container is deployed.
The following commands can be run manually, or as part of a script, to launch the application in the Container. If no runcondition is provided, then Run will default to the condition Initial. Run conditions are defined in the Programs.xml file.
From the Windows command prompt
To provide a Run Condition
c:\path\to\container> Cloudhouse.Container.Run.exe /runconditions Run1
To provide multiple Run Conditions, separate them with spaces
c:\path\to\container> Cloudhouse.Container.Run.exe /runconditions Run1 Run2
For more information regarding Run Conditions refer to Article "Editing and Maintaining Packages"