The below article will outline how to setup an Microsoft Intune deployment including license key and site id commands 


To start the process we will convert the Senso.msi into an intune.win file, to do this you will need  https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool 


There are some requirements for publishing Win32 applications to a client. Be aware that you must meet the following criteria:

  • Windows 10 – build 1607 or higher (Education, Pro and Enterprise)
  • The Windows 10 client must be joined to Azure AD or Hybrid domain joined
  • The Windows 10 must be under MDM management with Microsoft Intune
  • The application (including all sources files) may not exceed 8 GB in size


Preparation:


1. On a Windows 10 device create 3 folders:

  • C:\SensoIntune : Place all the source files needed for the installation in here (including custom installation scrips if you use it). In this case you will prepare the Senso application.
  • C:\IntuneApps : For the output file (.Intunewin file)
  • C:\IntuneWinAppUtil : For the Intune Win32 Content prep tool


2. Download the Microsoft Win32 Content Prep tool, go to this GitHub page to do so.


3. Extract the downloaded zip file and copy the IntuneWinAppUtil.exe file into the c:\IntuneWinAppUtil folder.


4. Download the latest Senso release from your Senso portal\admin center\downloads and copy it into the c:\SensoIntune Folder just created


5. Open up Powershell and navigate to c:\IntuneWinAppUtil then run the IntuneWinAppUtil.exe as below

  • cd c:\IntuneWinAppUtil
  • .\IntuneWinAppUtil.exe



6. Now press "Enter"



  • Source folder: ( where the senso.msi installer is located )
  • Setup file: the name of the installer in our case senso.cloud_client_x64.msi
  • Output folder: C:\IntuneApps


7. Now press "enter"


If all completed successfully you should see the below



 

8. You should now have the intunewin file required to deploy via intune as a win32app, this will have been created in the c:\IntuneApps folder as below



 


Deploy:


You are now ready to deploy the Senso App.


1. Open up the Azure Intune portal and select Client apps




2. Now select Client apps > Add




3. On the App type select Windows app (Win32)





App package file - Browse to the location of the senso.cloud_client_x64.intunewin in our case c:\IntuneApps





App information - You will need to add a publisher and a description. Click OK when complete to proceed.






Program - The Install and Uninstall commands will be pre-populated, you can add license.key and site.id here such as:  msiexec /i "senso.cloud_client_x64.msi" /q LIC=XXX-XXX-XXX SITE=XX





4.  Click OK to proceed when complete



 Requirements



5. You will be required to add which Operating system architecture 32xbit 64xbit or both. you will also be required to add a minimum operating system. Click ok when complete to proceed


Detection rules - You are required to add a detection rule, the detection rule can be either File, Registry or Msi product code, this is used to detect the application if already installed. 


6. Click OK to Proceed when complete




Return codes - you can leave the return codes as their defaults. 


7. Click OK when complete to proceed




Scope (Tags)


8. You will be required to add a scope. Once you have entered a scope, add the application, click OK to proceed when complete. The app will now be uploaded to Azure ready for deployment





9. Once the app is uploaded and ready for deployment you now need to assign the device to a group for install 





10. Add group, choose an assignment type, "Available for enrolled devices" or "required" select the Azure AD group for deployment, press OK to complete and then SAVE.