# Using MST's with Scappman Apps

To use an MST file with a Scappman app you wlil first need to deploy it as a custom application.&#x20;

In the below example, we'll use Adobe Reader.

#### Ensure you have your MST and an Icon for the custom app ready

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2F5QgFg29ngiCQfpvMa6sR%2F1_Files.png?alt=media&#x26;token=4cf3931c-a5a6-4825-b9bc-52c3b536dde6" alt=""><figcaption><p>Icon and MST file for custom app</p></figcaption></figure>

#### Browse to the App Store and select New App

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FqiBUrZ4g0BD6L8IhaV3U%2F2_new_app.png?alt=media&#x26;token=f92f7675-9f66-4732-810c-e1711f8620a7" alt=""><figcaption></figcaption></figure>

#### Populate the General Information tab of the new app

This information is for your own records and is what will be shown in the App Store once the new app is created.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FcAEIdfiKQ5DyGek4ZiKF%2F3_general_information.png?alt=media&#x26;token=bf9d31cf-3086-48ca-9984-6b63acbc5097" alt=""><figcaption></figcaption></figure>

#### Populate the Configuration tab of the new app

A version number is required; but an arbitrary value is OK to use.&#x20;

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FmdtdS51PNKy8qVvX5n8l%2F4_config.png?alt=media&#x26;token=bb8bcc6c-cdde-4135-bd02-1a0588831d5b" alt=""><figcaption></figcaption></figure>

#### Select your MST file

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FriS0Spq8ztaXaTj3tv3s%2F5_1_File.png?alt=media&#x26;token=2a458c35-4408-4f28-a96b-b3116b4668ee" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2F31EfzjTXtmCtFftgpvd9%2F5_2_File.png?alt=media&#x26;token=eb06b43b-04da-4c9b-8cf5-2506bdc48182" alt=""><figcaption></figcaption></figure>

#### Populate the Install command&#x20;

The install command displayed below will work as is; The only thing you may want to change is the Destination; "C:\Temp\\" is an example.

{% hint style="info" %}
Installation commands use PSADT PowerShell - See the cheat sheet [here](https://support.scappman.com/applications/bring-your-own-app-to-scappman/uploading-your-own-app-to-scappman/install-command-cheat-sheet)
{% endhint %}

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2F7wYPKhAc0brLaXQOmkr7%2FInstall-Command.png?alt=media&#x26;token=dad0d836-f2fc-47a6-8e86-dac5e9792f9a" alt=""><figcaption></figcaption></figure>

#### Configure your detection rule

For this, you want file-based detection, as shown below. Be sure to update the Path and File name to reflect what you configured in the File and Installation command steps.&#x20;

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FRk16FbvgDT19jZChp4LK%2F7_Detection.png?alt=media&#x26;token=57dbd629-d6b0-4c3a-8ae7-36db12879c47" alt=""><figcaption></figcaption></figure>

#### Deploy your MST to Intune

You can now deploy your MST to Intune as an application, following the same steps you usually would for any other app.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FILdqAhwVpONuxWTXKzby%2F8_App.png?alt=media&#x26;token=78ad2659-101f-49cc-ad77-6d5aebf5d8ce" alt=""><figcaption></figcaption></figure>

#### Add your MST as a dependency of your primary app

Once the MST app has finished deploying to Intune, you will be able to add it as a dependency as shown below. This will ensure that the MST is deployed first to your devices before Adobe Reader is installed.&#x20;

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FkqHyIWFZ4rhiGDwXLMER%2F9_Depdenency%20.png?alt=media&#x26;token=b338f758-913b-49fd-9170-897d1fd4d389" alt=""><figcaption></figcaption></figure>

#### Modify your command line to reference the MST

Select Configure for the Install command.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FKlSbs1VsiX7U9aEWREQ8%2F10_1_Install_command.png?alt=media&#x26;token=43bf33a0-4997-4c0e-bfcc-83e1a36180e5" alt=""><figcaption></figcaption></figure>

#### Reference the MST file

You will want to reference the MST file here by using the local path configured in the Install command of your MST app.&#x20;

{% hint style="info" %}
The command line below is only valid for Adobe Reader. The transform command may vary across different applications. Refer to the vendor documentation for specific guidance
{% endhint %}

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FrkIxuLdqppDowJ2c1Vza%2F10_2_Install_command.png?alt=media&#x26;token=030a4ed1-394e-4079-82a9-429ef53c6eff" alt=""><figcaption></figcaption></figure>

#### Once modified, Select Save and continue with the application deployment as normal

You will now want to set assignments for this newly created application, which you can read more about [here](https://support.scappman.com/applications/how-scappman-keeps-your-available-apps-up-to-date).
