How to deploy Greenshot with Microsoft Intune

  • This topic is empty.
  • Post
    Weekend Wiki
    Keymaster

    Deploying Greenshot with Microsoft Intune involves packaging the software, configuring deployment settings, and assigning it to devices or users. Here’s a step-by-step guide to deploying Greenshot using Intune:


    Step 1: Download Greenshot

    1. Go to the official Greenshot website (https://getgreenshot.org) and download the latest .exe or .msi installer.
    2. If you plan to use command-line parameters (e.g., for silent installation), use the .msi package.

    Step 2: Customize the Greenshot Installer

    1. Optional Configuration: If needed, pre-configure Greenshot settings by creating a configuration file:
      • Install Greenshot manually on a test device.
      • Customize the settings according to your needs.
      • Export the configuration file (greenshot.ini) from %APPDATA%\Greenshot\.
    2. Include this configuration file later when deploying Greenshot to ensure a consistent setup.

    Step 3: Convert the Installer for Intune

    Intune requires .intunewin format for deployment.

    1. Download the Intune Win32 Content Prep Tool:
    2. Prepare the Package:
      • Create a folder containing the Greenshot installer (.msi or .exe) and any additional files (like greenshot.ini).
      • Run the Intune Win32 Content Prep Tool:
        powershell
        IntuneWinAppUtil -c <source_folder> -s <installer_name.msi or .exe> -o <output_folder>
      • This generates a .intunewin package in the output folder.

    Create IntuneWin file

    To deploy the Greenshot application with Intune we first need to create the IntuneWin file. Follow these steps:

    • Create a new folder called Output on C:
    • Create a new folder called DeployGreenshot on C:
    • Download the latest Greenshot installation package
    • Copy the Greenshot-INSTALLER-1.2.10.6-RELEASE.exe file into C:\DeployGreenshot

    Note: The file name can be different.

    Download Greenshot

    • Download the official Microsoft Intune Win App Tool

    GitHub Intune Win App Tool

    • Open the Intune Win App Tool and enter the following:

    Important: You need to open the Win App Tool as an Administrator

    • Please specify the source folder: C:\DeployGreenshot
    • Please specify the setup file: Greenshot-INSTALLER-1.2.10.6-RELEASE.exe [can be different]
    • Please specify the output folder: C:\output
    • Do you want to specify catalog folder: N

    Step 4: Add Greenshot to Intune

    1. Log in to the Microsoft Intune Admin Center.
    2. Navigate to Apps > All Apps > Add.
    3. Choose App type as Windows app (Win32) and click Select.
    4. Upload the .intunewin package you created.

    Step 5: Configure App Deployment

    1. App Information:
      • Fill in details like app name (Greenshot), publisher, and description.
      • Optionally upload an icon for the app.
    2. Program:
      • Enter the install command:
        cmd
        msiexec /i "Greenshot.msi" /qn

        For .exe installers, use:

        cmd
        Greenshot.exe /SILENT
      • Provide the uninstall command:
        cmd
        msiexec /x {ProductCode} /qn

        Replace {ProductCode} with the correct GUID for Greenshot (found in the registry or documentation).

    3. Requirements:
      • Specify OS architecture (e.g., 64-bit) and minimum Windows version.
    4. Detection Rules:
      • Add a detection rule to check if Greenshot is installed:
        • Rule type: File
        • Path: C:\Program Files\Greenshot
        • File or folder: Greenshot.exe
        • Detection method: File exists.
    5. Assignments:
      • Assign the app to the required user or device groups.

    In your Output Folder, there should be a new file called Greenshot-INSTALLER-1.2.10.6-RELEASE.intunewin

    • Click on Select app package file
    • Upload your IntuneWin file which is located in C:\output
    • Click on OK
    • Click on Next
    • Here you can change the Settings. I leave it as it is. Dont forget to enter a Publisher
    • Click on Next

    Enter the following Commands:

    • Install Command: Greenshot-INSTALLER-1.2.10.6-RELEASE.exe /VERYSILENT
    • Uninstall command: “%ProgramFiles%\Greenshot\unins000.exe” /SILENT
    • Install behavior: System
    • Device restart behavior: no specific Action
    • Click on Next

    On the Requirements tab enter:

    • Operating system architecture: 64-bit
    • Minimum operating system: Windows 10 1607
    • Click on Next

    On the Detection rules tab:

    • Rules format: Manually configure detection rules
    • Click on Add
    • Rule type: File
    • Path: %programfiles%
    • File or Folder: Greenshot
    • Detection method: File or folder exists
    • Associated with a 32-bit app on 64-bit clients: No
    • Click on Ok and on Next
    • You can skip the Dependencies
    • You can skip the Supersedence
    • On the Assignments tab assign the Policy to a Group or to All User
    • Click on Next
    • And Review + Create the Policy

    Step 6: Test and Monitor Deployment

    1. Deploy the app to a test group to ensure everything works correctly.
    2. Monitor deployment status:
      • Go to Apps > Monitor > App Install Status in Intune Admin Center.
    3. Check the target devices for successful installation.

    Optional Enhancements

    • Post-installation Scripts: If needed, use Intune PowerShell scripts to deploy the greenshot.ini configuration file to users’ %APPDATA%\Greenshot\ folder after installation.
    • Update Management: Monitor Greenshot updates and package new versions for deployment periodically.

    Let me know if you need help with specific configurations or troubleshooting!  email us at  [email protected]

  • You must be logged in to reply to this topic.
en_USEnglish