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
Configuring Detection Rules for Snovasys MSI Installation
The SnovasysMSI_Install package is designed to:
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:
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:
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.
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
}
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:
Test-Path.0.1.