Deployment with Intune
  • 13 Jan 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Deployment with Intune

  • Dark
    Light
  • PDF

It's possible to deploy the bootstrapper within Intune.

Step-by-step instructions

Download required tools

First download the latest version of the bootstrapper here. Then download the latest version of IntuneWinAppUtil here.

Create Agent Configuration

Next you need to create a valid Agent configuration. See our docs for more information on creating an Agent configuration file. It's very important the device can be registered and the Context is on "Device".

It is also important that Deployment.Autostart.Enabled is true, Deployment.Enabled is true, and Deployment.Start is false. This will be done automatically by the Bootstrapper and the installer. If you run the installer without the Bootstrapper you MUST set these flags correctly.

NOTE: The deployment start must be false because the bootstrapper will trigger the deployment.

Example Agent.XML

<Register>
    <Type>1</Type>
    <Username><![CDATA[LOCAL\wksimport]]></Username>
    <Password><![CDATA[P@ssw0rd]]></Password>
</Register>
<Deployment>
    <Enabled>True</Enabled>
    <Start>False</Start>
    <Cancel>False</Cancel>
    <Events>False</Events>
    <Context>Device</Context>
    <AutoStart>
        <Enabled>True</Enabled>
        <Timer>0</Timer>
        <Deployment>LIQUIT</Deployment>
    </AutoStart>
</Deployment>

Prepare app for Intune

Next, create a folder and copy the Agent.XML and AgentBootstrapper.exe to it.

image.png

Now start IntuneWinAppUtil.exe as Administrator from any folder and navigate to the folder of the Agent.XML and AgentBootstrapper.exe, then press Enter.

image.png

Next you'll have to specify a setup file. In our case this is AgentBootstrapper-1.0.0.2.exe, then press Enter.

image.png

Specify the output folder. For example "C:\Output".

image.png

Press "N" when prompted for the catalog folder, then press Enter.

image.png

Now navigate to the output folder to find the .intunewin file.

image.png

Upload to Intune

To finish the setup, upload this file to https://endpoint.microsoft.com/ by creating a Windows app (Win32).

image.png

Next, specify the install command (see docs). For example:

AgentBootstrapper-1.0.0.2.exe /startDeployment /waitForDeployment /logPath=c:\install

Then create a detection rule for the Agent.exe. For example:

Folder C:\Program Files (x86)\Liquit Workspace\Agent\ File: Agent.exe

Finally, assign the app to a specific group and test the deployment.

Sources

Microsoft Docs: Prepare a Win32 app to be uploaded to Microsoft Intune | Microsoft Docs

IntuneWinAppUtil.exe: GitHub - microsoft/Microsoft-Win32-Content-Prep-Tool: A tool to wrap Win32 App and then it can be uploaded to Intune


Was this article helpful?

What's Next