Skip to content

Conversation

@TimWeinhold
Copy link

Summary

This PR adds proper silent installation support for the installer. Currently, the /S parameter is ignored
because UI dialogs still appear.

Changes

  • Skip language selection dialog in silent mode (default to English)
  • Default to AllUsers installation mode when running silently
  • Add /SD parameter to MessageBoxes for automatic dismissal in silent mode

Problem

When running tesseract-ocr-w64-setup-*.exe /S, the installer still shows:

  1. Language selection dialog (MUI_LANGDLL_DISPLAY)
  2. MessageBoxes without silent defaults

This prevents automated deployment via tools like Microsoft Intune, SCCM, or other software deployment systems.

@amitdo amitdo added the nsis label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants