Shared Deployments - Running Containers From File Shares (Deploy without Container Copy)
When the deployment executable is run without the /deploydir parameter, shortcuts and file type associations will be created and registered to the Container's current directory, this can be a directory on the local computer, or a remote file share. Containers deployed in this configuration, run in "shared" mode if the same Container folder is used as the source for multiple servers and desktops. Storing Containers on a file share and deploying them in this way means the Container can be used in non-persistent server or desktop environments because it avoid installing the application into the base image. Cloudhouse recommend having a copy of the Container per server, or for a limited number of desktop users and making use of storage de-duplication technologies to minimize the amount of storage used.
When the Container is already on the local server or desktop, then deploying without specifying the /deploydir can be used to avoid copying the contents of the Containers again which is ideal for use with other deployment tools or processes, proof of concept or UAT testing.
- Based on deployment type [ machine | user ], the shortcuts specified in the shortcuts.xml will be registered for the specific user(s).
- Based on deployment type [ machine | user ], file type associations specified in the FileAssociation.xml files will be created in HKLM or HKCU.
- The Container's source files will not be deployed to the target machine, and will run from the current location of the Container, either from the file share or local directory.
- The usage token cannot be encrypted on the fileshare, which is why the /noprotect command is required in order to deploy the Container.
To register a Container stored on a file share with the server or desktop.
\\share\containers\container-name\Cloudhouse.Containers.Deployment.exe /deploytype [ machine | user ] /noprotect
By default, when the container source is stored on the shared location the shortcuts will not have access to shared icons.
Icons and Network Shares
Icons will not be displayed if the Container is on a remote path, for example a UNC file share, create and apply a Group Policy to enable use of remote paths in shortcut icons:
gpedit.msc -> Computer Configuration -> Administrative Templates ->Windows Components -> File Explorer -> Allow the use of remote paths in file shortcut icons -> Enable.
Save and Apply the GroupPolicy.
When the uninstall command is run, the Container's source files will not be deleted.