User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

With the release of Imaging Toolkit 10.0.9 (coming soon!) we have added the ability to create a deployment process that can be used either standalone or with any other configuration management tools. You have the option to use a PXE server e.g. Windows Deployment Server for network based deployment, or simply a USB device with the images stored locally.

This preview demonstrates how to configure a deployment project to deploy Windows 10 1709 and integrate with Liquit Workspace. Applications will be delivered from a Liquit Workspace cloud tenant during the deployment process.


A Liquit Deployment will be used to deliver a set of applications to a registered device in a specified order, this is created using applications from the Liquit Setup Store, for example:

 

We start by creating a new project and selecting Custom Deployment solution for the Desktop Management version:

Once the project has been saved, the Expert View will appear where the project settings can be further customised, here we will add the Liquit Workspace agent.  

The Liquit Workspace agent consists of an MSI (agent.msi) and configuration (Agent.xml) file. The configuration file requires two sections for automated deployment. Full details regarding the Liquit Workspace agent configuration are available in the Liquit documentation.

The Register section of the Agent.xml provides credentials for a Liquit user account with permissions to register devices:

<Register>
  <Type>1</Type>
  <Username><![CDATA[LOCAL\wsimport]]></Username>
  <Password>wsimport</Password>
</Register>

The Deployment section of the Agent.xml configures a Liquit Deployment that will run during the deployment process:

<Deployment>
  <Enabled>True</Enabled>
  <Start>True</Start>
  <Cancel>False</Cancel>
  <Events>False</Events>
  <AutoStart>
    <Enabled>True</Enabled>
    <Timer>1</Timer>
    <Deployment>Build_Process</Deployment>
  </AutoStart>
</Deployment>


The Liquit agent will be installed using a powershell script so that status updates can be sent to a Deployment Monitor server:

$Utils = new-object -comobject "ENGL.Ztoolkit.Utils"
$Monitor = new-object -comobject "ENGL.Ztoolkit.Monitor"

# Send status update - Liquit install start
$Monitor.Task = "Installing Liquit Agent"
$Monitor.Status = "Started"
$ret = $Monitor.SendUpdate()

$Status = $Utils.AppendLog("Running: Liquit agent")
msiexec.exe /i C:\ztoolkit\agent.msi /qb /norestart

# Send status update - Liquit install end
$Monitor.Task = "Installing Liquit Agent"
$Monitor.Status = "Finished"
$ret = $Monitor.SendUpdate()

# Send status update - Liquit deployment start
$Monitor.Task = "Installing Liquit Deployment"
$Monitor.Status = "Started"
$ret = $Monitor.SendUpdate()

Once the Agent.xml and powershell script have been configured, add them to the Custom Files section of the project, along with the agent.msi file.

 

The Applications section of the project is enabled and set to run the install-liquit.ps1 powershell script that was added to the project:

When the project is deployed to a device, the deployment process is monitored using Deployment Monitor: 

 

Keep an eye on the Imaging Toolkit product page and social media for more details on version 10.0.9 and custom deployment. If you are interested in testing Imaging Toolkit 10.0.9 with Liquit Workspace Manager or any other deployment solution please get in touch.