Deploy Greenshot via Intune | Win32 App Packaging
Greenshot is a popular free screenshot tool used across many business environments. It uses an Inno Setup EXE installer, which supports silent deployment with the /VERYSILENT switch. The main things to get right are the correct silent switches and suppressing the desktop shortcut.
Download the installer
Download the latest Greenshot installer from GitHub releases:
https://github.com/greenshot/greenshot/releases
Download the Greenshot-INSTALLER-x.x.x.x-RELEASE.exe file. Greenshot is open source and all releases are on GitHub.
Wrap with the Content Prep Tool
IntuneWinAppUtil.exe -c "C:\AppSource\Greenshot" -s "Greenshot-INSTALLER-1.3.4.6-RELEASE.exe" -o "C:\IntunePackages"
Add the app in Intune
- Upload the .intunewin file
- Name: Greenshot
- Publisher: Greenshot
Install and uninstall commands
Greenshot uses Inno Setup. The silent switches are different to NSIS:
Detection rule
Pre-configuring Greenshot settings
Greenshot stores its configuration in an INI file at %APPDATA%\Greenshot\Greenshot.ini. You can pre-deploy a default config by including a Greenshot.ini file in your package and copying it to the correct location via a wrapper script:
# install.ps1 - install Greenshot and deploy default config Start-Process "Greenshot-INSTALLER-1.3.4.6-RELEASE.exe" -ArgumentList "/SP- /VERYSILENT /NORESTART /SUPPRESSMSGBOXES" -Wait # Create config directory for all users $configPath = "C:\Users\Default\AppData\Roaming\Greenshot" New-Item -ItemType Directory -Force -Path $configPath Copy-Item "$PSScriptRoot\Greenshot.ini" -Destination $configPath -Force
Frequently Asked Questions
Use: Greenshot-INSTALLER-x.x.x.x-RELEASE.exe /SP- /VERYSILENT /NORESTART /SUPPRESSMSGBOXES. These are Inno Setup switches. /VERYSILENT suppresses all UI and /SUPPRESSMSGBOXES prevents any popup dialogs.
No. Greenshot only provides an Inno Setup EXE installer. There is no official MSI. Use the EXE with Inno Setup silent switches and wrap it with IntuneWinAppUtil as normal.
Use a file detection rule: check for Greenshot.exe in C:\Program Files\Greenshot. This path is consistent across versions.
Add /TASKS="!desktopicon" to the install command to prevent the desktop shortcut being created during silent installation.