/
How to deploy CapaInstaller agent from InTune

How to deploy CapaInstaller agent from InTune

The CapaInstaller Agent can be deployed from InTune with these steps.

Prerequisite

  1. Create a folder on your computer called InTune CapaInstaller, with a sub folder called InTuneOutput and another sub folder called InTunePackageContent (See picture).

    image-20250328-125415.png
  2. Download the Win32-Content-Prep-Tool: GitHub - microsoft/Microsoft-Win32-Content-Prep-Tool: A tool to wrap Win32 App and then it can be uploaded to Intune Place the IntuneWinAppUtil.exe In the InTune CapaInstaller folder.

  3. You must be able to run a command prompt as administrator.

 Instructions

  1. Get the CapaInstaller Agent.xml file and the CapaInstallerAgentSetup.exe from your CapaInstaller server. Open a file explorer and browse to your CMP point → Resources → AgentInstaller (C:\CapaInstaller\CMP\Resources\AgentInstaller)

  2. Copy the CapaInstaller Agent.xml file and the CapaInstallerAgentSetup.exe to the InTune CapaInstaller\InTunePackageContent folder.

  3. Download this Powershell script: and copy it to the InTune CapaInstaller\InTunePackageContent folder.

  4. You can edit the Powershell script and add a Installation Type like “InTune Joined”. This makes it easier to locate which agents are deployed from InTune.

    image-20250328-130201.png

     

  5. Open a command prompt as administrator and browse to the InTune CapaInstaller folder, where the IntuneWinAppUtil.exe is placed.

  6. Run this command: IntuneWinAppUtil.exe -c "C:\Temp\InTune CapaInstaller\intunePackageContent" -s CapaInstallerAgentSetup.exe -o "C:\Temp\InTune CapaInstaller\inTuneOutput" (Note you can always run IntuneWinAppUtil.exe /? to get the correct syntax)

    image-20250328-131015.png

     

  7. The InTune package should now been created.

    image-20250328-131200.png

     

  8. Go to your Azure Portal and select InTune.

  9. Select Apps in the right pane menu.

    image-20250328-131411.png

     

  10. Select Windows.

    image-20250328-131543.png

     

  11. Select Create.

    image-20250328-131636.png

     

  12. Select Windows App (Win32). and click on select.

    image-20250328-131727.png

     

  13. Select, Select app package file

    image-20250328-131827.png

     

  14. Select the CapaInstallerAgentSetup.intunewin file in the InTune CapaInstaller\InTuneOutput folder.

    image-20250328-131943.png

     

  15. Set the following App information and click Next
    - Name: CapaInstaller Agent 6.7.100
    - Description: This will install the CapaInstaller Agent on the endpoint.
    - Publisher: CapaSystems.com
    - App Version: 6.7.100
    - Logo: Select this logo bellow

    CapaSystems logo only transparent.png
    image-20250328-132251.png

     

  16. Set the following in the Program tab
    - Install Command: Powershell.exe -NoProfile -ExecutionPolicy ByPass -File .\InstallCapaAgentinTuneContent.ps1
    - UnInstall command: Powershell.exe -NoProfile -ExecutionPolicy ByPass -File .\InstallCapaAgentinTuneContent.ps1
    - Installation time required (mins): 5
    - Allow available uninstall: No
    - Install Behavior: System
    - Device restart behavior: No Specific action

    image-20250328-133217.png

     

  17. Set the following in the Requirements tab.
    - Operating system architecture: 64-Bit
    - Minimum operating system: Windows 10 - 1607

    image-20250328-134403.png
  18. In the detection rule tab, select Manually configure detection rules and click on +Add.
    - Rule type: File
    - Path: C:\Program Files\CapaInstaller\Services\Cistub\
    - File or folder: cistub.exe
    - Detection method: File or folder exists
    - Associated with a 32-bit app on 64-bit clients: No

    image-20250328-134009.png



  19. In the Dependencies tab, click Next.

  20. In the Supersedence tab, click Next.

  21. In the Assignments tab you can select what groups, users or devices, that the CapaInstaller agent should be deployed to.

    image-20250328-134321.png
  22. In the Review + Create tab, check that the information you have provided is correct and end with Create.
    The application should now be created in the windows → Apps

    image-20250328-135327.png



 

Remember to select 32-bit in the requirements tab.
Remember to select Install behavior as system.

 

Related content