Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Windows:

Breeze Agent can be deployed to Windows machine as a Windows app (Win32) application in Microsoft Intune.

  • Prepare the package necessary to create such application
    On Windows 10 machine v1607 or later, download the Microsoft Win32 Content Prep Tool.
    At some place on the disk create temporary working directory, put the downloaded tool inside (e.g. C:\breeze).
    Create source directory named source inside (C:\breeze\source).
    Rename the Breeze Agent distro file to the breeze-agent.exe and put it to the source directory (C:\breeze\source\breeze-agent.exe).
    Also, in the source directory create a new plain-text file in UTF-8 encoding named install.cmd (C:\breeze\source\install.cmd) and paste the following content into it:

    @echo off
    start /B /WAIT breeze-agent.exe -gm2
    if %errorlevel% NEQ 0 ( exit /b 1 )
    setlocal EnableDelayedExpansion
    set etc=%ProgramFiles%\Breeze\etc
    if exist "!etc!" (
      set tags=!etc!\tags
      if not exist "!tags!" echo. 2>"!tags!"
      set str=preferred.descriptor=intune
      find /c "!str!" "!tags!" >NUL || echo:!str!>>"!tags!"
    ) else (
      exit /b 1
    )

    Start the command line and go to the working directory using command R: && cd C:\Breeze.
    Create .intunewin package using the following command line:

    IntuneWinAppUtil.exe -c C:\breeze\source -o C:\breeze -s C:\breeze\source\breeze-agent.exe

    In the working directory should be package file (C:\breeze\breeze-agent.intunewin), which will be used in the next steps.
    NOTE: more details about that process can be obtained from Microsoft Intune documentation.

  • Create the Intune application
    In the Microsoft Intune admin center select Apps > All apps > Add.
    On the Select app type pane, under the Other app types, select Windows app (Win32) from the list and click Select button.
    Click Select app package file and point to the .intunewin file created before. When the app details appear, select Ok.
    Populate mandatory fields with the following values:

    Name: Breeze Agent
    Description: Anything describing this app
    Publisher: Cloudaware

    On the next pane named Program populate fields as described above:

    Install command: "%systemroot%\sysnative\cmd.exe" /c "install.cmd"
    Uninstall command: "%systemroot%\sysnative\cmd.exe" /c "%ProgramFiles%\Breeze\uninstall.bat"
    Install behavior: System
    Device restart behavior: No specific action
    Specify return codes to indicate post-installation behavior:
        0: Success
        1: Failed

    The next page Requirements, the mandatory fields:

    Operating system architecture: select only 64-bit
    Minimum operating system: Windows 10 1607

    Page Detection rules, choose Manually configure detection rules, click Add and select File as Rule type. The mandatory fields:

    Path: %ProgramFiles%
    File or folder: Breeze
    Detection method: File or folder exists
    Associated with 32-bit app on 64-bit clients: No

    The Dependencies and Supersedence pages leave empty.
    On the Assignments page configure desired targets for application deploy.
    On the last page Review and create, review the values and settings that entered for the app. Verify that the configured app information correctly. Select Create.
    NOTE: more details about that process can be obtained from Microsoft Intune documentation.

  • No labels