Automatic Enrollment of Windows Devices Using Microsoft Intune (MSI Installer)

Prev Next

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 to deploy the Windows Agent using MSI Installer and enroll devices using Microsoft Intune:

  1. Provide the UPN suffixes to the designated HP Service Expert or Business Partner.
  2. Obtain the Company PIN.
    1. Log in to WXP and click Settings > Preferences.
    2. On the Preferences tab, scroll to the** Company PIN** section and copy the pin.
  3. Download the HP Insights Windows Application (MSI Installer)
  4. Convert the HP Insights Windows Application (MSI Installer) with the Microsoft Win32 Content Prep Tool
  5. Create HP Insights Windows Application (MSI Installer) in Microsoft Intune.

Target Audience

IT Adminstratiors 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 (MSI Installer)

  1. Download the HP Insights Windows Application MSI installer and dependencies.
  2. Save the contents of the .zip file to a location accessible by Intune.
  3. VC++ redistributable (x86)
  4. VC++ redistributable (x64)
  5. HP Insights Analytics Client dependencies
  6. HP Insights Analytics Client package
  7. HP Insights Manager Application
  8. Download InstallScript.Zip from here.
  9. Extract the content of downloaded InstallScript.zip. It will contain InstallScript.ps1
  10. Open InstallScript.ps1 and replace ENTER_COMPANY_PIN with company pin and save the InstallScript.ps1
Note:

The HP Insights Analytics Client - Dependencies package cannot be installed on non-HP manufactured PCs, including virtual machines.

Convert the Workforce Experience Platform for Windows Application (MSI Installer) with the Microsoft Win32 Content Prep Tool

  1. Download the Win32 Content Prep Tool here.
  2. Save or download the IntuneWinAppUtil.exe to a local folder along with the MSI and .exe files downloaded earlier.
  3. Open an Admin command prompt and run the following commands individually to convert the installers to IntuneWin format. Replace [folder name] with the local folder where the files are downloaded. (Ensure each downloaded .exe or .msi installer file is saved in a separate folder. Also, note that the input and output folder names must be different, otherwise, an installation error will occur):
    1. IntuneWinAppUtil.exe -c [folder name] -s VC_redist.x86.exe -o [folder name]
    2. IntuneWinAppUtil.exe -c [folder name] -s VC_redist.x64.exe -o [folder name]
    3. IntuneWinAppUtil.exe -c [folder name] -s HPInsightsAnalyticsDependencies.msi -o [folder name]
    4. IntuneWinAppUtil.exe -c [folder name] -s HPInsightsAnalytics.msi -o [folder name]
    5. IntuneWinAppUtil.exe -c [folder name] -s HPInsights.msi -o [folder name]
  4. After the files are successfully converted, the following IntuneWin files are created will appear:
    1. VC_redist.x86.intunewin
    2. VC_redist.x64.intunewin
    3. HPInsightsAnalyticsDependencies.intunewin
    4. HPInsightsAnalytics.intunewin
    5. HPInsights.intunewin

Create Applications in Microsoft Intune

First application: Create VC++ redistributable (x86) Application

  1. Sign in to the Azure portal. The Home page is displayed.
  2. Go to Microsoft Intune Admin Center.
  3. Select Client Apps, then go to Apps.
  4. Click Add and select Windows App (Win32).
  5. Click Select app package file, then select VC_redist.x86.intunewin.
  6. Click OK.
  7. On the App Information page:
    • Enter Microsoft as the Publisher.
    • Click Next.
  8. 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.
  9. On the Requirements page:
    • Operating system architecture: 32-bit and 64-bit
    • Minimum OS: Windows 10 1607 (or whichever version is lowest)
  10. 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
  11. Click Next until the end.
  12. Click Create.

Second Application - Create VC++ Redistributable (x64) Application

This is only for 64-bit Microsoft Windows

  1. Sign in to the Azure portal and go to Microsoft Intune.
  2. Select Client Apps, then go to Apps.
  3. Click Add and select Windows App (Win32).
  4. Click Select app package file, then select VC_redist.x64.intunewin.
  5. Click OK.
  6. On the App Information page:
    • Enter Microsoft as the Publisher.
    • Click Next.
  7. 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.
  8. On the Requirements page:
    • Operating system architecture: 64-bit
    • Minimum OS: Windows 10 1607 (or whichever version is oldest)
  9. 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\x64
      • Detection method: Key Exists
      • Associated with a 32-bit app on 64-bit clients: No
  10. Click Next until the end.
  11. Click Create.

Third Application - Create HP Insights Analytics Client Dependencies Application

  1. Select Client Apps, then go to Apps.
  2. Click Add and select Windows App (Win32).
  3. Click Select app package file, then select HPInsightsAnalyticsDependencies.intunewin.
  4. Click OK.
  5. On the App Information page:
    • Enter HP Inc. as the Publisher.
    • Click Next.
  6. On the Program page:
    • Install command: msiexec /i "HPInsightsAnalyticsDependencies.msi" /q /norestart
    • Device restart behavior: No specific action
    • Leave all other settings as default.
  7. On the Requirements page:
    • Operating system architecture: 32-bit and 64-bit
    • Minimum OS: Windows 10 1607 (or whichever version is oldest)
  8. On the Detection Rules page:
    • Rules format: Manually Configure Detection Rules
    • Click Add
    • Rule Type: MSI
    • Leave all settings as default.
  9. Click Next until the end.
  10. Click Create.

Note: This package cannot be installed on non-HP manufactured PCs, including virtual machines.

Fourth Application - Create and Assign HP Insights Analytics Application

  1. Select Client Apps, then go to Apps.
  2. Click Add and select Windows App (Win32).
  3. Click Select app package file, then select HPInsightsAnalytics.intunewin.
  4. Click OK.
  5. On the App Information page:
    • Enter HP Inc. as the Publisher.
    • Click Next.
  6. 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.
  7. On the Requirements page:
    • Operating system architecture: 32-bit and 64-bit
    • Minimum OS: Windows 10 1607 (or whichever version is oldest)
  8. On the Detection Rules page:
    • Rules format: Use a custom detection script
    • Script file: Upload InstallScript.ps1
    • Ensure the following are set to No:
      • Run script as 32-bit process on 64-bit clients
      • Enforce script signature check
      • Run script silently
  9. On the Dependencies page:
    • Click Add.
    • Select:
      • VC_redist.x64.intunewin
      • HPInsightsAnalyticsDependencies.intunewin
      • HPInsights.intunewin
    • Ensure Automatically Install is set to Yes.
  10. Assign the app to the targeted Assignment Groups.
  11. Click Next until the end.
  12. Click Create.

Fifth Application - Create and Assign HP Insights Application

  1. Select Client Apps, then go to Apps.
  2. Click Add and select Windows App (Win32).
  3. Click Select app package file, then select HPInsights.intunewin.
  4. Click OK.
  5. On the App Information page:
    • Enter HP Inc. as the Publisher.
    • Click Next.
  6. On the Program page:
    • If Tray icon is required: include HIDETRAY=True
    • Install command (no Tray icon):
      msiexec /i HPInsights.msi CPIN=companypin HIDETRAY=True /qn /l*v tm-log.txt /norestart
    • Device restart behavior: No specific action
    • Leave all other settings as default.
  7. On the Requirements page:
    • Operating system architecture: 32-bit and 64-bit
    • Minimum OS: Windows 10 1607 (or whichever version is oldest)
  8. On the Detection Rules page:
    • Rules format: Manually Configure Detection Rules
    • Click Add
    • Rule Type: File
      • Path: %ProgramFiles(x86)%\Hewlett-Packard\HP Touchpoint Manager\Agent
      • File or folder: LHAgent.exe
      • Detection method: String (version)
      • Operator: Greater than or equal to
      • Value: <replace with the version of the HPInsights.msi being deployed>
      • Associated with 32-bit app on 64-bit clients: Yes
  9. On the Dependencies page:
    • Click Add
    • Select:
      • VC_redist.x86.intunewin (for 32-bit OS)
      • VC_redist.x64.intunewin (for 64-bit OS)
    • Ensure Automatically Install is set to Yes.
  10. Assign the app to the targeted Assignment Groups.
  11. Click Next until the end.
  12. Click Create.

Note: The HP Insights Analytics Client - Dependencies package cannot be installed on non-HP manufactured PCs, including virtual machines.

Related Resources

For additional information, refer to the following articles:

Contact Us

For any assistance, create a support case or email [email protected].