ViewSonic Knowledge Base


myViewBoard settings


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:


  1. Create a folder named Intune in the root of the C: drive, with the following two subfolders inside:

    • Input 

    • Output





  2. Place the myViewBoard .msi installer file into the C:\Intune\Input directory. For guidance on how to download and acquire this MSI file, see the following article below:

  3. Download the IntuneWinAppUtil tool.  

    1. Go to the following GitHub repository: 

    2. Download the ZIP archive.

    3. Extract the contents of the Microsoft-Win32-Content-Prep-Tool-master.zip file.

    4. Copy the extracted IntuneWinAppUtil.exe file into the C:\Intune folder.



  4. In the C:\Intune folder, run IntuneWinAppUtil.exe.

  5. When prompted, provide the following information:

    • Input folder path: C:\Intune\Input

    • Setup file path: Full path to the myViewBoard .msi installer

    • Output folder pathC:\Intune\Output



  6. Press Enter to start the process. 



  7. Once the process is complete, verify that a new .intunewin file was generated in the C:\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.


  1. Create a new text file in the C:\Intune folder.

  2. 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
    } 
     
     
  3. Save the file and rename it to detection.ps1

  4. 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:


  1. Sign in to the Microsoft Intune Admin Center.

  2. Navigate to Apps » Windows apps 

  3. Click Create to open the sidepanel.

  4. Select Windows app (Win32) from the app type dropdown.

  5. 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.

 

  1. Click the Select app package file link.
  2. Click the folder icon.
  3. In the open dialog, select the the  .intunewin file generated earlier.
  4. Click OK.
  5. Fill in all required fields including name, description, and publisher information.
  6. 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.


Delete

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.


  1. Select Use a custom detection script from the dropdown.
  2. Upload the detection.ps1 file created earlier.
  3. 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.


  1. Review all settings. 
  2. Click Create to publish the application.
  3. 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:


  1. The myViewBoard 3.0 icon is now listed when you go to the All apps list.
  2. The myViewBoard 3.0 icon now appears in the Recently Installed section of the Start Menu
  3. The myViewBoard 3.0 icon now appears when you search for myViewBoard via the Start Menu search feature.




Knowledge Base

Need additional help?

Check our other resources — we'll be happy to assist you.