-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GitHub action and Makefile target for Windows installer #4341
Conversation
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@815 d0cd1f9f-072b-0410-8dd7-cf729c803f20
nsis/plugins/INetC.dll
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this .dll also needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an extension for the NSIS installer and used for the download of Tesseract models (see inetc::get
in nsis/tesseract.nsi).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to download via curl in makefile? Curl is present in modern windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated Makefile.am to download the zip file and unzip the INetC.dll.
ca636f6
to
7ea4a95
Compare
- Move NSIS installer file to new location - Support cross builds with NSIS - Clean nsis configuration - Fix typos in nsis configuration - Add jar files needed for ScrollView.jar - Move ScrollView.jar to a new section - Add missing configurations to tessdata - Registry settings are now disabled (problems with long PATH) - Add menu sections for all languages - Simplify language downloads - Tune and improve nsis configuration - Add sizes for language data - Add missing translations to nsis configuration - Don't show details in installer by default - Initial code for 64 bit Tesseract installer - Fix uninstall for TESSDATA_PREFIX registry key - Remove cube code - nsis: Add all training executables - nsis: Disable registry settings Trying to add to PATH fails if the old PATH is very long and will result in an empty PATH. Remove these settings as they were already disabled by default, and both are not needed. Signed-off-by: Stefan Weil <[email protected]>
- Added a couple of languages that are available for the Linux version - Add new section for script data - Get data from tessdata_fast The data files are now in the "script" subdirectory. - Update list of scripts and languages - Update path for script trained data - Add data for Han Simplified vertical script - Fix names of tessdata (jpn_vert, kmr) - Fix some path names for 64 bit version - Remove testing files from installation Those files were moved from tesseract.git to test.git. - Don't enforce admin mode, but use highest available - Don't use a checkbox for the license - Remove unused code for registry settings (PATH, TESSDATA) - Don't show README.md (did not work) Signed-off-by: Stefan Weil <[email protected]>
- Add manual pages in HTML format and helper for Tesseract command line - Don't remove the installation directory recursively - Add GitHub action for Tesseract installer for Windows - Add docbook-xml to required packages (needed for doc) - Use unicode for NSIS installer - Optionally sign executables - Add more file properties to installer - Update configuration for use with pacman - Build Windows installer only for 64 bit Windows Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Here is the first result: https://github.com/tesseract-ocr/tesseract/actions/runs/11641358702. |
The new GitHub action "installer-for-windows" builds an NSIS installer with Tesseract for Windows.
It is not run automatically, but must be triggered manually.
Autoconf builds also have a new target
winsetup
, so the installer can be built withmake winsetup
.This requires a build environment with all needed components (NSIS, Windows libraries, ...).