Introduction
The Microsoft Intune - MSI Installer is a Windows-based deployment package that enables you (IT administrators) to install and manage the HP Insights Windows Application (also referred to as Windows Agent) across enterprise-managed devices using Microsoft Intune. It is designed to simplify the deployment, update, and management of the HP Insights Windows Application.
This article covers a step-by-step to deploy the Windows Agent using MSI Installer and enroll devices using Microsoft Intune:
- Provide the UPN suffixes to the designated HP Service Expert or Business Partner.
- Obtain the Company PIN.
- Log in to WXP and click Settings > Preferences.
- On the Preferences tab, scroll to the Company PIN section and copy the pin.
- Download the HP Insights Windows Application (ZIP Package (.msi))
- Convert the HP Insights Windows Application (ZIP Package (.msi)) with the Microsoft Win32 Content Prep Tool
- Create HP Insights Windows Application (ZIP Package (.msi)) in Microsoft Intune.
Target Audience
IT Administrators who want to set up and manage the Workforce Experience Platform using cloud-based tools from Intune through silent installation parameters and configuration management tools provided by MSI.
Prerequisites
- User must have Admin role in Microsoft Azure.
- The admin's email is displayed in the Primary User UPN.
- The admin's device must be added the Company Portal, a free app from Microsoft.
Download the HP Insights Windows Application - ZIP Package (.msi)
-
Download the HP Insights Windows Application ZIP Package (.msi) and dependencies.
-
Save the contents of the .zip file to a location accessible by Intune. There are two .zip files:
x86 Zip Package (.msi)=>HPInsights.zipfor 32-bit and 64-bit intel platforms andARM64 Zip Package (.msi)=>HPInsights-arm64.zipfor ARM64 platforms.Intel Package
- VC++ redistributable (x86)
- VC++ redistributable (x64)
- HP Insights Analytics Client dependencies
- HP Insights Analytics Client package
- HP Insights Manager Application
ARM Package
- VC++ redistributable (ARM64)
- HP Insights Analytics Client dependencies
- HP Insights Analytics Client package
- HP Insights Manager Application
Note: The HP Insights Analytics Client - Dependencies package cannot be installed on non-HP manufactured PCs, including virtual machines.
Convert WXP for Windows Application ZIP Package (.msi)with the Microsoft Win32 Content Prep Tool
- Download the Win32 Content Prep Tool here.
- Save or download the
IntuneWinAppUtil.exeto a local folderC:\Tool
Section 1: Creating Intune Packages for Deployment on Intel Devices (Intel Package)
-
Extract HPInsights.zip and place the content into local folder
C:\Intune\IntelPkgs\- VC_redist.x86.exe
- VC_redist.x64.exe
- HPInsightsAnalyticsDependencies.msi
- HPInsights.msi
- HPInsightsAnalytics.msi
-
Open an Admin command prompt
-
Go to the
C:\Intune\folder and run the following commands sequentially to convert the installers to the intune format:C:\Tool\IntuneWinAppUtil.exe -c IntelPkgs -s VC_redist.x86.exe -o C:\Intune\Output\IntelPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c IntelPkgs -s VC_redist.x64.exe -o C:\Intune\Output\IntelPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c IntelPkgs -s HPInsightsAnalyticsDependencies.msi-o C:\Intune\Output\IntelPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c IntelPkgs -s HPInsightsAnalytics.msi -o C:\Intune\Output\IntelPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c IntelPkgs -s HPInsights.msi -o C:\Intune\Output\IntelPkgsIntune
-
After the files are successfully converted, the following IntuneWin files are created and they will appear in
C:\Intune\Output\IntelPkgsIntune:VC_redist.x86.intunewinVC_redist.x64.intunewinHPInsightsAnalyticsDependencies.intunewinHPInsightsAnalytics.intunewinHPInsights.intunewin\
-
Intune application creation for intel devices: Use intune packages inside
IntelPkgsIntunefolder for creating intune applications from the First Application to Sixth Application sections given below. -
Deployment guideline for intel devices: Refer to the Steps for General Deployment of an Application in Intune section below for deploying intune applications created in the above step Intune application creation for intel devices.
Section 2: Creating Intune Packages for Deployment on ARM Devices (ARM Package)
- Extract HPInsights.zip and put content into local folder
C:\Intune\ArmPkgs\VC_redist.arm64.exeHPInsightsAnalyticsDependencies.msiHPInsights.msiHPInsightsAnalytics.msi
- Open an Admin command prompt.
- Go to the
C:\Intune\folder and run the following command sequentially to convert the installers to intune format:C:\Tool\IntuneWinAppUtil.exe -c ArmPkgs -s VC_redist.arm64.exe -o C:\Intune\Output\ArmPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c ArmPkgs -s HPInsightsAnalyticsDependencies.msi-o C:\Intune\Output\ArmPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c ArmPkgs -s HPInsightsAnalytics.msi -o C:\Intune\Output\ArmPkgsIntuneC:\Tool\IntuneWinAppUtil.exe -c ArmPkgs -s HPInsights.msi -o C:\Intune\Output\ArmPkgsIntune
- After the files are successfully converted, the following IntuneWin files are created. They will appear in
C:\Intune\Output\ArmPkgsIntune:VC_redist.arm64.intunewinHPInsightsAnalyticsDependencies.intunewinHPInsightsAnalytics.intunewinHPInsights.intunewin
- Intune application creation for ARM devices: Use intune packages in
ArmPkgsIntunefolder for creating intune applications from Third Application to Sixth Application sections given below. - Deployment guideline for ARM devices: Refer to the Steps for General Deployment of an Application in Intune section below for deploying intune applications created in the above step Intune application creation for ARM devices.
Creating Applications in Microsoft Intune
First application: Create VC++ redistributable (x86) Application
- Sign in to the Azure portal. The Home page is displayed.
- Go to Microsoft Intune Admin Center.
- Select Client Apps, then go to Apps.
- Click Add and select Windows App (Win32).
- Click Select app package file, then select
VC_redist.x86.intunewin - Click OK.
- On the App Information page:
- Enter Microsoft as the Publisher.
- Click Next.
- On the Program page:
- Install command:
vc_redist.x86.exe /install /quiet - Uninstall command:
vc_redist.x86.exe /uninstall /quiet - Device restart behavior: No specific action
- Leave all other settings as default.
- Install command:
- On the Requirements page:
- Operating system architecture:
- Select Yes. Specify the systems the app can be installed on.
- Select Install on x86 system
- Select Install on x64 system
- Select Minimum operating system as per the target environment. For example: Windows 10 1607
- Operating system architecture:
- On the Detection Rules page:
- Rules format: Manually Configure Detection Rules
- Click Add
- Rule Type: Registry
- Key path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86 - Detection method: Key Exists
- Associated with a 32-bit app on 64-bit clients: Yes
- Key path:
- Click Next until the end.
- Click Create.
Second Application - Create VC++ Redistributable (x64) Application
This is only for 64-bit Microsoft Windows
- Sign in to the Azure portal and go to Microsoft Intune.
- Select Client Apps, then go to Apps.
- Click Add and select Windows App (Win32).
- Click Select app package file, then select
VC_redist.x64.intunewin. - Click OK.
- On the App Information page:
- Enter Microsoft as the Publisher.
- Click Next.
- On the Program page:
- Install command:
vc_redist.x64.exe /install /quiet - Uninstall command:
vc_redist.x64.exe /uninstall /quiet - Device restart behavior: No specific action
- Leave all other settings as default.
- Install command:
- On the Requirements page:
- Operating system architecture:
- Select Yes. Specify the systems the app can be installed on.
- Select Install on x64 system
- Select Minimum operating system as per the target environment. For example: Windows 10 1607
- Operating system architecture:
- On the Detection Rules page:
- Rules format: Manually Configure Detection Rules
- Click Add
- Rule Type: Registry
- Key path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\_Microsoft\VisualStudio\14.0\VC\Runtimes\x64 - Detection method: Key Exists
- Associated with a 32-bit app on 64-bit clients: No
- Key path:
- Click Next until the end.
- Click Create.
Third Application - Create VC++ Redistributable (ARM64) Application
This is only for 64-bit Microsoft Windows
- Sign in to the Azure portal and click Microsoft Intune.
- Select Client Apps, then click Apps.
- Click Add and select Windows App (Win32).
- Click Select app package file, then select
VC_redist.arm64.intunewin - Click OK.
- On the App Information page:
- Enter "Microsoft" as the Publisher.
- Click Next.
- On the Program page:
- Install command:
vc_redist.arm64.exe /install /quiet - Uninstall command:
vc_redist.arm64.exe /uninstall /quiet - Device restart behavior: No specific action
- Leave all other settings as default.
- Install command:
- On the Requirements page:
- Operating system architecture: ARM64
- Minimum OS: Windows 11 24H2 (or whichever version is higher)
- On the Detection Rules page:
- Rules format: Manually Configure Detection Rules
- Click Add
- Rule Type: Registry
- Key path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\ARM64 - Detection method: Key Exists
- Associated with a 32-bit app on 64-bit clients: No
- Key path:
- Click Next until the end.
- Click Create.
Fourth Application - Create HP Insights Analytics Client Dependencies Application
-
Select Client Apps, then go to Apps.
-
Click Add and select Windows App (Win32).
-
Click Select app package file, then select
HPInsightsAnalyticsDependencies.intunewin. -
Click OK.
-
On the App Information page:
- Enter HP Inc. as the Publisher.
- Click Next.
-
On the Program page:
- Install command:
msiexec /i "HPInsightsAnalyticsDependencies.msi" /q /norestart - Device restart behavior: No specific action
- Leave all other settings as default.
- Install command:
-
On the Requirements page:
- Operating system architecture:
- Click Yes. Specify the systems the app can be installed on.
- Select Install on x64 system
- Select Minimum operating system as per the target environment. For example: Windows 10 1607
- Click Install on ARM64 system
- Note: Select this option only if target devices is on ARM platform
- Select Minimum operating system as per target environment. For example: Windows 11
24H2
- Operating system architecture:
-
On the Detection Rules page:
- Rules format: Manually Configure Detection Rules
- Click Add
- Rule Type: MSI
- Leave all other settings as default.
-
Click Next until the end.
-
Click Create.
Note: This package cannot be installed on non-HP manufactured PCs, including virtual machine.
Fifth Application - Create and Assign HP Insights Analytics Application
-
Select Client Apps, then go to Apps.
-
Click Add and select Windows App (Win32).
-
Click Select app package file, then select
HPInsightsAnalytics.intunewin -
Click OK.
-
On the App Information page:
- Enter HP Inc. as the Publisher.
- Click Next.
-
On the Program page:
- Install command:
msiexec /i HPInsightsAnalytics.msi /qn /l*v ta-log.txt - Device restart behavior: No specific action
- Leave all other settings as default.
- Install command:
-
On the Requirements page:
- Operating system architecture:
- Select Yes. Specify the systems the app can be installed on.
- Select Install on x64 system
- Select Minimum operating system as per the target environment. For example: Windows 10
1607 - Select Install on ARM64 system
Note: Select this option only if target devices is on ARM platform - Select Minimum operating system as per the target environment. For example: Windows 11
24H2
- Operating system architecture:
-
On the Detection Rules page:
- Rules format: Use a custom detection script
- Script file: Create
HPInsightsAnalytics-Detection-Script-Intune.ps1and add below contents in it and save on local drive. UploadHPInsightsAnalytics-Detection-Script-Intune.ps1
$logPath = "C:\Temp "
$logFile = "$logPath\HPInsightsAnalytics-Detection-Script-Intune.log"
# Ensure log directory exists
if (!(Test-Path $logPath)) {
New-Item -ItemType Directory -Path $logPath -Force | Out-Null
}
function Write-Log {
param (
[string]$message
)
$timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
"$timestamp - $message" | Out-File -FilePath $logFile -Append -Encoding utf8
}
$serviceName = "HpTouchpointAnalyticsService"
Write-Log "Script started. Checking service: $serviceName"
# Get service via CIM
$service = Get-CimInstance Win32_Service -Filter "Name='$serviceName'" -ErrorAction SilentlyContinue
if ($null -eq $service) {
Write-Log "Service not found."
exit 1
}
Write-Log "Service found. State: $($service.State)"
# Check if service is running
if ($service.State -ne "Running") {
Write-Log "Service is not running."
exit 1
}
# Extract executable path
$exePath = $service.PathName -replace '"',''
Write-Log "Executable path: $exePath"
# Get Program Files path
$programFiles = [Environment]::GetFolderPath("ProgramFiles")
Write-Log "Program Files path: $programFiles"
# Check path condition
if ($exePath -like "$programFiles*") {
Write-Log "Service is installed under Program Files. Detection = SUCCESS"
exit 0
}
else {
Write-Log "Service is NOT under Program Files. Detection = FAILED"
exit 1
}
- Ensure the following are set to No:
- Run script as 32-bit process on 64-bit clients
- Enforce script signature check
- Run script silently
- On the Dependencies page:
- Click Add.
- Select:
VC_redist.x64.intunewin(select for Intel)HPInsightsAnalyticsDependencies.intunewinVC_redist.arm64.intunewin(select for ARM64 Devices)
- Ensure Automatically Install is set to Yes.
- Assign the app to the targeted Assignment Groups.
- Click Next until the end.
- Click Create.
Sixth Application - Create and Assign HP Insights Application
- Select Client Apps, then go to Apps.
- Click Add and select Windows App (Win32).
- Click Select app package file, then select
HPInsights.intunewin. - Click OK.
- On the App Information page:
- Enter HP Inc. as the Publisher.
- Click Next.
- On the Program page:
- If Tray icon is required: include
HIDETRAY=True - Install command (no Tray icon):
msiexec /i HPInsights.msi CPIN=<Enter-Company-PIN> HIDETRAY=True /qn /l*v tm-log.txt /norestart - Device restart behavior: No specific action
- Leave all other settings as default.
- If Tray icon is required: include
- On the Requirements page:
- Operating system architecture:
- Select Yes. Specify the systems the app can be installed on.
- Select Install on x64 system
- Select Minimum operating system as per the target environment. For example: Windows 10
1607 - Select Install on ARM64 system
Note: Select this option only if the target devices is on ARM platform - Select Minimum operating system as per the target environment. For example: Windows 11 24h2
- Operating system architecture:
- Specify the Detection rules:
- Rules format: Use a custom detection script
- Script file: Create
HPInsights-Detection-Script-Intune.ps1and add below contents in it and save on local drive. UploadHPInsights-Detection-Script-Intune.ps1
$service = Get-Service -Name "hpLHAgent" -ErrorAction SilentlyContinue
if ($null -eq $service) {
exit 1
}
exit 0
- Ensure the below options are selected as No
- Run script as 32-bit process on 64-bit clients
- Enforce script signature check and run script silently
- On the Dependencies page:
- Click Add
- Select the following:
VC_redist.x86.intunewin(select for Intel devices)VC_redist.x64.intunewin(select for Intel devices)VC_redist.arm64.intunewin(select for ARM64 devices)
- Ensure Automatically Install is set to Yes.
- Assign the app to the targeted Assignment Groups.
- Click Next until the end.
- Click Create.
Note:
- The HP Insights Analytics Client - Dependencies package cannot be installed on non-HP manufactured PCs, including virtual machines.
- Use the actual company pin in step 6.
Steps for General Deployment of an Application in Intune
- Open intune applications created as per Section 1 and Section 2 one by one.
- In the Assignments section, select the Edit option.
- In the Assignments tab:
- Go to the Required section and select Add group, Add all users, Add all devices depending on the deployment strategy and target.
- For Silent Installation, click Show all toast notifications under End user notifications.
- In the End user notifications, Select Hide all toast notifications and click OK.
- Click Review + save.
- In the Review + save tab, click Save.
Note: IT Administrator needs to deploy above application first to six based on target devices, target devices operating system platform.
Important:
If the customer or IT Administrator is enforcing strict PowerShell execution policies (such as AllSigned, RemoteSigned, or other restricted execution policies), the scripts mentioned in this article (HPInsightsAnalytics-Detection-Script-Intune.ps1 and HPInsights-Detection-Script-Intune.ps1) must be digitally signed before deployment.
In such environments:
- The IT Administrator must sign the provided PowerShell uninstall script with an approved code-signing certificate.
- The signed script must be used when configuring the application deployment in Intune or SCCM.
- The IT Administrator must ensure that the corresponding code-signing certificate (or its issuing CA certificate) is present in the Trusted Root Certification Authorities or Trusted Publishers store under the Local Computer certificate store on all target devices.
- Failure to meet these requirements may result in the uninstall script being blocked by the system execution policy.
Contact Us
For any assistance, create a support case or email support@wxp.hp.com.