Deploy & Distribute

Environmental Requirements

Server Side

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.

Extension MIME Type Required by
.css text/css All Editions
.js application/javascript All Editions
.zip application/x-zip-compressed All Editions
.cab application/vnd.ms-cab-compressed ActiveX
.exe application/octet-stream ActiveX
.msi application/octet-stream HTML5 for Windows
.pkg application/pkg-mac HTML5 for macOS
.rpm audio/x-pn-realaudio-plugin HTML5 for Linux
.deb application/x-debian-package HTMl5 for Linux
Client Side

Check out About Editions


About the Running Services

On Windows

By default, there are always three Dynamsoft Serivce processes running. All of them are called Dynamsoft Service and uses the same file DynamsoftService.exe. However they are started with different arguments.

The main process is started without any argument.

`C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\DynamsoftService.exe`

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

Like any other libraries, you need to include the resource files of Dynamic Web TWAIN to use it in your project. The library is distributed as multiple JavaScript files, a CSS file and multiple binary files. From version 14.1 to 15.0, the files are organized as shown below

Resources
addon
dynamsoft.upload.js
dynamsoft.webtwain.addon.pdf.js
dist
DynamsoftServiceSetup.deb
DynamsoftServiceSetup.msi
DynamsoftServiceSetup.pkg
DynamsoftServiceSetup.rpm
LICENSE
dynamsoft.webtwain.config.js
dynamsoft.webtwain.css
dynamsoft.webtwain.initiate.js
dynamsoft.webtwain.install.js
Readme.txt

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.

JavaScript, CSS, etc.
  • Readme.txt

    This file contains information about the resources files.

  • dynamsoft.webtwain.config.js

    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.

  • dynamsoft.webtwain.initiate.js

    This file is the core of the Dynamic Web TWAIN JavaScript Library. You're not supposed to change it without consulting the Dynamsoft Support Team.

  • dynamsoft.webtwain.install.js

    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 dynamsoft.webtwain.initiate.js.

  • dynamsoft.webtwain.css

    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 dynamsoft.webtwain.initiate.js.

  • addon/dynamsoft.webtwain.addon.pdf.js

    This file contains the functionalities of the PDF Rasterizer addon. You're not supposed to change it without consulting the Dynamsoft Support Team.

  • addon/dynamsoft.upload.js

    This file defines the interfaces of the Dynamsoft Upload Module.

Binary files
  • DynamsoftServiceSetup.msi

    This file installs Dynamic Web TWAIN on Windows which supports IE 8+, Edge, Chrome/Firefox 27+.

  • DynamsoftServiceSetup.pkg

    This file installs Dynamic Web TWAIN on macOS which supports Safari 7+, Chrome/Firefox 27+.

  • DynamsoftServiceSetup.deb or DynamsoftServiceSetup.rpm

    These two files install Dynamic Web TWAIN on Linux which supports Chrome/Firefox 27+.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""