Pushing an Win app from Intune to a User's System - IT

Pushing an Win app from Intune to a User's System - IT

Pushing an MSI to User Systems via Intune

To deploy an MSI application to user systems using Microsoft Intune, follow the steps below:

1. Set Up Intune

  • Admin System: Ensure Intune is properly configured and accessible from the administrator’s system.
  • User System: Install and configure Intune on the user’s system

After setting up Intune on the user system, users and devices can be found in the Devices tab.

·        

·        
First, create an app to push a file from Intune.

Go to the Apps section and click on All Apps. Create the app using the 'Create' option as shown below

·        
·         Click on the 'Select app type' dropdown, find the 'Windows app (Win32)' app, and click on 'Select'.

·         To select the MSI that needs to be pushed, click 'Select app package file,' choose the file, and then click 'OK



·        
This page will appear. In App information provide the Name and Publisher, then click ‘Next.’

·        
No changes are required in Program section; click on Next.

·        

·        
In Requirements, select either of the two options as needed, choose the minimum operating system, and then click Next.




       

·        

Configuring Detection Rules for Snovasys MSI Installation

The SnovasysMSI_Install package is designed to:

  • Remove all existing Snovasys files.
  • Install the updated service.
  • Uninstall itself once the process is complete.

To ensure Intune recognizes the installation as successful, the ProductCode of the newly installed MSI is retrieved and reported back to Intune as Installed.

Setting Up Detection Rules in Intune

Follow these steps to configure detection rules:

  1. In the Intune portal, navigate to Detection Rules.
  2. Select Use a custom detection script.
  3. Upload or choose the script that retrieves the MSI ProductCode.
  4. Click Next to proceed with the configuration



Before proceeding with the installation steps, you need to obtain the Update Service code from a system where the Update Service is already installed.

Follow these steps:

  1. Open the Command Prompt with administrative privileges.
  2. Run the following command to retrieve the service code:

CMD:  wmic product where "Name like '%UpdateService%'" get Name, IdentifyingNumber

This command will display the Name and IdentifyingNumber of the Update Service, which can then be used for further configuration or troubleshooting.

This version is structured, easy to read, and suitable for inclusion in an article or technical documentation.

 

 

Checking if an MSI Application is Installed via Registry

When deploying applications using MSI installers, Windows records installation details in the registry. This PowerShell script helps verify whether a specific MSI application (identified by its Product Code) is installed on the system.

# Replace with your Update Service product code
$newProductCode = "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx}"

# Registry paths where MSI installs register themselves
$path64 = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$newProductCode"
$path32 = "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$newProductCode"

# Check if the product exists in either registry path
if ((Test-Path $path64) -or (Test-Path $path32)) {
Write-Output "Installed"
exit 0
}
else {
exit 1
}

How It Works

  • Product Code:
    Each MSI installation generates a unique GUID (e.g., {12345678-ABCD-1234-ABCD-1234567890AB}) called the Product Code. Replace the placeholder in $newProductCode with the actual code retrieved earlier.

  • Registry Paths:

    • HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall → Standard 64‑bit registry location.
    • HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall → Location for 32‑bit applications on 64‑bit systems.
  • Logic:

    • The script checks both registry paths using Test-Path.
    • If the product code exists in either path, it outputs "Installed" and exits with code 0.
    • If not found, it exits with code 1.

No changes are required in Dependencies section; click on Next.

·        
No changes are required in superdense section; click on Next.

·        
In the Assignments section, click on 'Add Group,' search for the required group, and select it. Then, click on 'Next.'

·        
In the 'Review + Create' section, review all the information and then click on 'Create.'

·        
The app was created, and the dashboard is now visible.

·        
To check the installation status, open the app in the All Apps section and find the installed status in the Device Install Status section.

·        
To delete the app, click on the three dots and select the Delete option, then click Yes.


    • Related Articles

    • Intune Setup on macOS and PKG Deployment

      Intune user login on macOS Step 1: Launch the Company Portal app on your macOS device. Step 2: Enter your Intune account email and password, then click Sign In to complete authentication. PKG Deployment Step 3: In Microsoft Intune Admin Center, go to ...
    • How to Fix Duplicate Desktop Assigns to user

      Step 1: Log in to your site with credentials in the browser Step 2: Go to the User tab and verify whether multiple desktops are assigned to the same user. If multiple users have the same desktop name, the application will assign the desktop to only ...
    • Linux Silent New Version Installation (Avalonia)

      Time Champ Installation Guide for Linux Follow the steps below to ensure a clean and successful installation of the Time Champ application: Step 1: Check for Existing Installation Verify if a previous version of the Time Champ application is already ...
    • Install Time Champ (MSI) Through Group Policy (GPO)

      Creating a Shared Folder: 1) Create a shared network folder (this folder will contain the MSI package) For Example we are creating a folder named software in the C directory Right click and go to Properties of the shared folder. 2)Set permissions on ...
    • Support Process

      How to Raise and Manage Your Ticket Raising a Ticket To raise a support ticket, simply send an email to support@timechamp.io. This will automatically generate a ticket in our system. Viewing and Managing Your Tickets Once you raise a ticket, you will ...