# Distribute full installer

{% hint style="info" %}
Adaptiva recommends [deploying the P2P installer](https://docs.adaptiva.com/platform-install/client-install-and-uninstall/deploy-clients/deploy-clients-intune/deploy-clients-intune-p2p) in order to simplify deployment. If you are using a SaaS environment, use the P2P installer.
{% endhint %}

## Overview

You can create a Windows app (Win32) in Intune to install the Adaptiva Client by publishing the `adaptiva-client-<version>-windows.exe` installer. This is the full Windows client installer for the Adaptiva Client available with your installation files.

## Prerequisites

You will need to download and install the [Microsoft Win32 Content Prep Tool](https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool) to complete these steps.

## Access the Adaptiva Client

The Adaptiva Client is available from the Installation folder of the installation media. You can download the latest release from the [Product Releases](https://support.adaptiva.com/hc/en-us/sections/201965326-Product-Releases) section of the Adaptiva Support Portal.

**For users of the SaaS platform**, you can access the P2P installer or cross-platform installation scripts from your tenant. Click the **settings gear > Settings > Client Downloads.**

However, to access the full client installer you will need to download and install the Adaptiva P2P client to gain access to the full Adaptiva client.

1. Follow these [steps to download and install](https://docs.adaptiva.com/platform-install/client-install#saas-client-installation) the Adaptiva P2P Client on a device.
2. On the new device, navigate to `C:\` and show hidden folders.
3. Navigate to the hidden `C:\AdaptivaCache\Client` folder and copy `AdaptivaClientSetup.exe` to an accessible location.

## Deploy the Full Client Installer

Microsoft Intune does not support `.exe` distribution, so you must create an `.intunewin` file and configure a Win32 App in Intune.

This process will download the full Adaptiva client (approx. 92MB) using Intune. It is recommended to use the P2P Client Installer method as that will only download 1Mb using Intune.

### Create Intunewin File for Full Client Installation

Download and install the [Microsoft Win32 Content Prep Tool](https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool).

1. Create a content source folder as follows:

   `<Drive>:\<Path>\Adaptiva\FullClient`
2. Copy the `adaptiva-client-<version>-windows.exe` from the installation source into the FullClient folder.
3. Open a command prompt at the **intunewin** tool folder and run the following command:

   `Intunewinapputil -c "<Drive>:\<Path>\Adaptiva\FullClient\" -s adaptiva-client-<version>-windows.exe -o "<Drive>:\<Path>\Adaptiva\FullClient\"`

   * The installer name will be **AdaptivaClientSetup.exe** if you sourced it from a SaaS-based client.
4. The `<executable_name>.intunewin` will be created in the FullClient folder.

### Create Intune App for Full Installer

1. Log into the Microsoft Intune admin center (<https://intune.microsoft.com>) using the account with the appropriate role assignment.
2. In the left-hand navigation pane, click **Apps**, then click **All Apps**.

   ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-eb3f2e2a75038d7a67d6c334d9227574956019fa%2Fimage79.png?alt=media)
3. Click **+ Create**.
4. In the right pane, select the **App type** drop-down.
5. Under **Other**, select **Windows app (Win32)**.

   ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-ee53be60b7ee9bd0950f4c3ae4600b9e061f37a4%2Fimage80.png?alt=media)
6. Click **Select**.
7. The **Add App** pane appears.

   ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-c7ee15d7997efedb528557c4dda240b576cf0a89%2Fintune-add-app.png?alt=media)
8. Click **Select app package file**.
9. In the right pane, click on the folder icon.

   ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-1dfa4398bdab7ea4de6f1e1387114816aad39e4c%2Fimage82.png?alt=media)
10. Browse to the path with the .intunewin file you created using the winapputil tool: `<Drive>:\<Path>\Adaptiva\FullClient` and select the `<executable_name>.intunewin` file. Click **Open**.
11. The right pane will be updated with the package file details. Click **OK**.
12. Under the **App Information** step, update the properties with these and any other values as appropriate. These are user facing values.

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-fcd2df86a844979867510209b65f340369af24e9%2Fp2p-intune-app-appinformation.png?alt=media)

    * **Name** and **Description**: Update the name and description to user friendly values.
    * **Publisher**: Adaptiva
13. Update the other fields as necessary and click **Next**.
14. On the **Program** tab, enter the following:

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-349dbe30014d82b6af52f499ed4c72a537c19c55%2Fintune-add-program.png?alt=media)

    * **Install command**:

      Since you are installing from Intune, you should include the -CloudRelay and -ServerGUID parameters, which enables the client to use the Cloud Relay Service to connect when off-premises. **SaaS customers** will need the -Password parameter, but will not need the -CloudRelay parameter.

      `adaptiva-client-<version>-windows.exe -InstallorUpgrade -ServerName *AdaptivaServer.FQDN* -CloudRelay -ServerGUID <GUID> [-Password and other optional parameters]`
    * **Uninstall command**: `adaptiva-client-<version>-windows.exe -uninstall`
    * **Install behavior**: System
    * **Device restart behavior**: No specific action.
15. Click **Next**.
16. On the **Requirements** tab, click **Yes. Specify the systems the app can be installed on.**
17. Click to select the **Install on x86 system** and **Install on x64 system** checkboxes.
18. Select the **Minimum operating system** your organization supports.
19. Complete any additional requirements as needed.

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-533522aad444de41c37f334e93d74a9ee1a1aa9a%2Fintune-add-requirements.png?alt=media)
20. Click **Next**
21. On the **Detection Rules** tab, click the **Rules format** drop-down and select **Manually configure detection rules**.

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-6eb19e12b43396021aa9fdc92a26e3fcf778206f%2Fimage89.png?alt=media)
22. Click **+ Add**
23. In the right-hand pane, click the **Rule type** dropdown and select **Registry**.

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-e114ed273df70070e88a1c9f554067a3b4f4af7b%2Fimage91.png?alt=media)
24. Create the following rule:

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-850c076636907e52a45d1a0948d90d1503f21741%2Fimage97.png?alt=media)

    * **Key path**: HKEY\_LOCAL\_MACHINE\Software\Adaptiva\Client
    * **Value name:** slm.version
    * **Detection method**: Value comparison
    * **Operator**: Less than
    * **Value**: 10.1.972.12
    * **Associated with a 32-bit app on 64-bit clients**: No
25. Click **OK**.
26. Click **Next**.
27. On the **Dependencies** tab, click **Next**.

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-09ede509a487c86edfca9bd7a8a95627825f9b3a%2Fimage93.png?alt=media)
28. On the **Supersedence** and **Scope tags** tabs, click **Next**.
29. On the **Assignments** tab, configure assignments for the following groups. Assignments do not need to be entered right now; they can be entered later.

    ![](https://1238239958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcNZqjCKqgdpA83eD4o%2Fuploads%2Fgit-blob-57b89549d33b6b9c786fb43e2699d12ce7e450c2%2Fimage94.png?alt=media)

    Add a group to **Required** to force the installation.

    Add a group to **Available** for enrolled devices to make the installation optional via the Company Portal app. When adding a group to Available, the group must contain Users, not Devices.

    Add a group to **Uninstall** for managed devices to have this app removed.
30. Click **Next**.
31. Review the App information and click **Create**.
