Home
-
Migration to new UImyViewBoard user settingsmyViewBoard admin settingsAdmin tasks
Deploying MSI via Intune
This document outlines the process for packaging and deploying a Win32 application using Microsoft Intune. A general overview of the process is given below:
- Prepare the necessary folder structure
- Generate the
.intunewin
package - Create a
detection.ps1
PowerShell script - Upload to the Intune portal
- Deploy across managed devices
Follow these instructions to ensure a successful installation.
Preparation
Before you can add a Win32 app to Microsoft Intune, you must generate a compatible .intunewin
package using the Microsoft Win32 Content Prep Tool. To learn more, visit the Microsoft Learn article below:
Once you have a good understanding of the process, prepare the .intunewin
package by performing the following steps:
-
Create a folder named
Intune
in the root of the C: drive, with the following two subfolders inside:Input
Output
-
Place the myViewBoard
.msi
installer file into theC:\Intune\Input
directory. For guidance on how to download and acquire this MSI file, see the following article below: -
Download the IntuneWinAppUtil tool.
-
Go to the following GitHub repository:
Download the ZIP archive.
Extract the contents of the
Microsoft-Win32-Content-Prep-Tool-master.zip
file.Copy the extracted
IntuneWinAppUtil.exe
file into theC:\Intune
folder.
-
In the
C:\Intune
folder, runIntuneWinAppUtil.exe
.-
When prompted, provide the following information:
Input folder path:
C:\Intune\Input
Setup file path: Full path to the myViewBoard
.msi
installerOutput folder path:
C:\Intune\Output
-
Press
Enter
to start the process. Once the process is complete, verify that a new
.intunewin
file was generated in theC:\Intune\Output
folder. Set this file aside for use in the deployment section.
Intune script
We also need to prepare a script that will allow Intune to detect whether the application is already installed on the target system.
Create a new text file in the
C:\Intune
folder.-
Open the file and add the following PowerShell code:
if (Get-AppxPackage -Name "8df0095f-e86a-41f8-a95b-f78c4f33ef08") { Write-Host "Detected." exit 0 } else { Write-Host "Not found." exit 1 }
Save the file and rename it to
detection.ps1
.Set this file aside for use in the deployment section.
Deploy via Microsoft Intune
Before proceeding, ensure that you have the following files ready:
- The
.intunewin
file - The
detection.ps1
file
Afterwards, use Intune to deploy a new Windows app:
Sign in to the Microsoft Intune Admin Center.
Navigate to Apps » Windows apps
Click Create to open the sidepanel.
Select Windows app (Win32) from the app type dropdown.
Click Select to launch the Add app screen.
Provide the following information on each section.
App Information
Provide details about your file, as well as upload the file itself.
- Click the Select app package file link.
- Click the folder icon.
- In the open dialog, select the the
.intunewin
file generated earlier. - Click OK.
- Fill in all required fields including name, description, and publisher information.
- Click Next to proceed to the next screen.
Select package
Click OK
Add details
Program
Specify the commands to install and uninstall this app.
1. Provide the following commands:
Install command :
msiexec /i "myViewBoardV3_3.2.1_x64.msi" /qn ORGANIZATION="YourEntityName"
Uninstall command:
powershell.exe -ExecutionPolicy Bypass -Command "Get-AppxPackage -Name '8df0095f-e86a-41f8-a95b-f78c4f33ef08' | Remove-AppxPackage"
2. Click Next to proceed to the next screen.
Assign to entity
Note the following parameter:
ORGANIZATION="YourEntityName"
- Replace YourEntityName with the name of the entity that will manage these installations. Deploying with this parameter will allow admins of the specified entity to use myViewBoard, Manager, and Insights to remotely manage and monitor these installations.
- Note that omitting this parameter performs a standard install and does not enroll the installation with a particular entity.
Requirements
Specify the requirements that devices must meet before the app is installed:
1. Ensure that the following are selected:
Yes. Specify the systems the app can be installed on.
Install on x64 system
Minimum operating system: Windows 10 2004
2. Click Next to proceed to the next screen.
Detection Rules
Configure app specific rules used to detect the presence of the app.
- Select Use a custom detection script from the dropdown.
- Upload the
detection.ps1
file created earlier. - Click Next to proceed to the next screen.
Select custom
Upload file
Dependencies (Optional)
Add any application dependencies if required.
Supersedence (Optional)
Configure if this app replaces older versions.
Assignments
Assign the app to the necessary groups. For example, select All Users and All Devices.
Review + Create
Once all details are ready, you can now deploy the app.
- Review all settings.
- Click Create to publish the application.
- Once the process has started, allow some time for Intune to upload and deploy the app.
Publish app
Uploading
Upload finished
Completion
After the .intunewin
file is uploaded and the application is queued for deployment, target devices will receive a deployment notification and the application will be silently installed.
Installing
Install complete
Verify successful installation
To confirm successfull installation, click the Start Menu and check if:
- The myViewBoard 3.0 icon is now listed when you go to the All apps list.
- The myViewBoard 3.0 icon now appears in the Recently Installed section of the Start Menu
- The myViewBoard 3.0 icon now appears when you search for myViewBoard via the Start Menu search feature.