Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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. R:\breeze).
    Create source directory named source inside (R:\breeze\source).
    Rename the Breeze Agent distro file to the breeze-agent.exe and put it to the source directory (R:\breeze\source\breeze-agent.exe).
    Also, in the source directory create a new plain-text file in UTF-8 encoding named install.cmd (R:\breeze\source\install.cmd) and paste the following content into it:

    Code Block
    languagebash
    @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 R:\Breeze.
    Create .intunewin package using the following command line:

    Code Block
    languagebash
    IntuneWinAppUtil.exe -c R:\breeze\source -o R:\breeze -s R:\breeze\source\breeze-agent.exe

    In the working directory should be package file (R:\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:

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

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

    Code Block
    languagebash
    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:

    Code Block
    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:

    Code Block
    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.

...