Deploy & Distribute
If you are using the OCR pro module of Dynamic Web TWAIN on the server-side, you will need to install Dynamsoft Service on the server with many extra but necessary files required by the OCR pro module. These files as well as a
readmefile on how to install the service in such a case are included in all the samples for the OCR pro module. If you have difficulty finding such a sample or are not sure how to install Dynamsoft Service for OCR Pro. You can contact Dynamsoft Support.
Generally, Dynamic Web TWAIN runs 100% on the client-side, thus it doesn't matter what operating system runs on the server. The role of the server is to hold the Resources of the SDK and supply them when needed. Therefore, no matter what web server is used, you just need to make sure that it has the following MIME types set up correctly.
About the Running Services
By default, there are always three Dynamsoft Service processes running. All of them are called
Dynamsoft Serviceand uses the same file
DynamsoftService.exe. However they are started with different arguments.
The main process is started without any argument.
Then there is a monitor process which is meant to monitor the main process and automatically start it in case it crashes
`C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\DynamsoftService.exe -asmonitor Global\Dynamsoft_1.5.0_352325843_stop_service_event Global\Dynamsoft_1.5.0_352325828_certcheck_event`
The last always-running process is meant to support the SSL certificate for Firefox
C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\DynamsoftService.exe" "-certcheck" "70056" "Global\Dynamsoft_1.5.0_352326875_1_certcheck_event
Apart from these three, each time you open a browser tab to use Dynamic Web TWAIN, one more process will appear which is the Dynamsoft Scanning New Module.
`"-scan" "\\.\pipe\dynamsoftscan_15.0_70056_60" "0" "Global\ss352604281_61_70056" "0" "C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\dwt_trial_15.0.0.0625.dll"`
About the Distribution Files
Depending on how you design your application, you can remove some of them to keep only the necessary files. The purpose of these files is detailed below to help you better understand them.
This file contains information about the resources files.
This file is used to make basic configuration of Dynamic Web TWAIN. It's where you enter the product key for the product and to change the initial viewer size, etc.
This file is used to configure the dialogs which show up when Dynamic Web TWAIN is not installed or needs to be upgraded. This file is automatically loaded in
This file contains the style definitions for all the elements of built-in image viewer, progress bar, dialogs, etc. This file is automatically loaded in
This file contains the functionalities of the PDF Rasterizer addon. You're not supposed to change it without consulting the Dynamsoft Support Team.
This file defines the interfaces of the Dynamsoft Upload Module.
This file installs Dynamic Web TWAIN on Windows which supports IE 8+, Edge, Chrome/Firefox 27+.
This file installs Dynamic Web TWAIN on macOS which supports Safari 7+, Chrome/Firefox 27+.
These two files install Dynamic Web TWAIN on Linux which supports Chrome/Firefox 27+.