How to deploy Dynamic Web TWAIN on your server (Windows/Linux/Unix/Mac)?

 

For the server-side operating system, Dynamic Web TWAIN supports Windows, Linux, Unix, Mac, etc. Generally speaking, there is no restriction on the operating system. Deployment rules apply to all types of server machines.To deploy Dynamic Web TWAIN on your server, you can simply copy your solution and put it on the server. If the Resources folder of Dynamic Web TWAIN is not included in your solution, please make sure you include it first and also be sure the paths to reference the JS files (such as dynamsoft.webtwain.initate.js and dynamsoft.webtwain.config.js) are correct in your code.In most of our official samples, the Resources folder is already part of the sample. But just in case, you can find the Resources folder in the installation directory e.g.
C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN SDK {Version Number}If you want to deploy a newer version of Dynamic Web TWAIN, please refer to:
How to upgrade Dynamic Web TWAIN to the latest version?


If you need any assistance or have any problems, please feel free to contact us.

 

This article helps you understand what files in the Resources folder should be installed or deployed to your end-users' machines to support document scanning and saving in your web application.

* for Windows end users who use IE 10/11, Chrome or Firefox

    • DynamsoftServiceSetup.exe, or MSI/DynamsoftServiceSetup.msi:

This Dynamsoft Service needs to be manually installed on end-user machine. You can use the MSI to silently deploy the service to all end-user machines, refer to: How to Remotely Install Web TWAIN MSI on End-Users Machines

    • WinDWT_*.*.*.*.zip:

This ZIP file contains the core scanning library. Please keep it in the Resources folder on your HTTP server. The file will be automatically and silently deployed to the end-user machine once the Dynamsoft Service is installed.

* for Windows end users who use IE 6/7/8/9

    • DynamicWebTWAINActiveX.exe:
    • MSI/WebTwainMSITrialX64.msi and WebTwainMSITrialX86.msi:
    • DynamicWebTWAIN.cab and DynamicWebTWAINx64.cab:

You can choose one of the above installer type to install the ActiveX. The default option is the EXE. If you prefer to use CAB, you can change the setting in the dynamsoft.webtwain.config.js
You can use the MSI to silently deploy the service to all end-user machines, refer to How to silently install/uninstall Dynamsoft Service via Command Line

* for macOS end users who use Safari, Chrome or Firefox

    • DynamsoftServiceSetup.pkg:

This Dynamsoft Service needs to be manually installed on the end-user machine.

    • MacDWT_*.*.*.*.zip:

this ZIP file contains the core scanning library. Please keep it in the Resources folder on your HTTP server. The file will be automatically and silently deployed to the end-user machine once the Dynamsoft Service is installed.

* for Linux end users who use Chrome or Firefox

    • DynamsoftServiceSetup.deb or DynamsoftServiceSetup.rpm:

This Dynamsoft Service needs to be manually installed on Debian/Ubuntu or Fedora end-user machine.

    • LinuxDWT_*.*.*.*.zip:

this ZIP file contains the core scanning library. Please keep it in the Resources folder on your HTTP server. The file will be automatically and silently deployed to the end-user machine once the Dynamsoft Service is installed.

*Add-on related files

    • addon/Pdf.zip and -addon/Pdfx64.zip

These files are for installing the PDF Rasterizer addon on your system (32bit or 64bit). The files will be automatically and silently deployed to the end-user machine as long as the dynamsoft.webtwain.addon.pdf.js is referenced in your page.

*Other optional files

    • DynamicWebTWAINPlugIn.msi

This file is for installing Dynamic Web TWAIN Plugin edition for Windows end users to use Chrome v27- or Firefox v27-

    • DynamicWebTWAINMacEdition.pkg

This file is for installing Dynamic Web TWAIN Plugin edition for macOS end users to use Safari v7-, Chrome v27- or Firefox v27-

 

This article helps you understand what files in the Resources folder should be installed or deployed to your end-users' machines to support document scanning and saving in your web application.

* Under dist/win/for Windows end users who use IE 10/11, Chrome or Firefox

    • DynamsoftServiceSetup.msi:

This Dynamsoft Service needs to be manually installed on the end-user machine. For the controlled environment, you can also use the MSI to silently deploy the service to all end-user machines, refer to: How to Remotely Install Web TWAIN MSI on End-Users Machines

    • WinDWT_*.*.*.*.zip:
    • WinDWT_*-*.*.*.*_x64.zip

These .zip files contain the core scanning library which is TWAIN-based. Please keep it in the Resources folder on your HTTP server. The file will be automatically and silently deployed to the end-user machine once the Dynamsoft Service is installed. You must make sure that your HTTP server is able to serve .zip files.

    • DynamicWebTWAINModule.msi or DynamicWebTWAINModuleTrial.msi

In case the automatic deployment of the .zip files fails, a prompt will come up and provide this .msi file for end users to download and install the core scanning library.

* for Windows end users who use IE 6/7/8/9

These legacy browsers don't support HTML5, as a result, they still rely on the old ActiveX technology. The ActiveX uses the following packages to install.

    • ActiveX/DynamicWebTWAINActiveX.exe

This is the default package to be downloaded in an automatic prompt, the end user needs to install it manually.

    • ActiveX/WebTwainMSIX64.msi or WebTwainMSITrialX64.msi
    • ActiveX/WebTwainMSIX86.msi or WebTwainMSITrialX86.msi

These .msi files are mainly designed for silent group deployment in a controlled environment, refer to How to silently install/uninstall Dynamsoft Service via Command Line.

    • ActiveX/DynamicWebTWAIN.cab and ActiveX/DynamicWebTWAINx64.cab

These .cab files are Microsoft's legacy way to install ActiveX in Internet Explorer. If you prefer using them, you can set ActiveXInstallWithCAB to true in dynamsoft.webtwain.config.js.

    • Pdf.zip and Pdfx64.zip

These files are used to install the PDF Rasterizer on the client machine. For more info, check out How to use the PDF Rasterizer.

* Under dist/mac/

for macOS end users who use Safari, Chrome or Firefox

    • DynamsoftServiceSetup.pkg:

This Dynamsoft Service needs to be manually installed on the end-user machine.

    • MacDWT_*.*.*.*.zip:

These .zip files contain the core scanning library which is TWAIN|ICA-based. Please keep it in the Resources folder on your HTTP server. The file will be automatically and silently deployed to the end-user machine once the Dynamsoft Service is installed. You must make sure that your HTTP server is able to serve .zip files.

    • MacPdf.zip

These files are used to install the PDF Rasterizer on the client machine. For more info, check out How to use the PDF Rasterizer.

*Under dist/linux

for Linux end users who use Chrome or Firefox

    • DynamsoftServiceSetup.deb or DynamsoftServiceSetup.rpm

This Dynamsoft Service needs to be manually installed on Debian/Ubuntu/mint or Fedora end-user machine.

    • LinuxDWT_*.*.*.*.zip

These .zip files contain the core scanning library which is SANE-based. Please keep it in the Resources folder on your HTTP server. The file will be automatically and silently deployed to the end-user machine once the Dynamsoft Service is installed. You must make sure that your HTTP server is able to serve .zip files.

    • LinuxPdf.zip

These files are used to install the PDF Rasterizer on the client machine. For more info, check out How to use the PDF Rasterizer.

*Add-on related files

    • addon/Pdf.zip and -addon/Pdfx64.zip

These files are for installing the PDF Rasterizer addon on your system (32bit or 64bit). The files will be automatically and silently deployed to the end-user machine as long as the dynamsoft.webtwain.addon.pdf.js is referenced in your page.

Dynamsoft Service Update Packages

*Under dist/serviceupdate

    • WinDSUpdate_14.0.0.0618.zip
    • WinDSUpdate_14.0.0.0618_x64.zip
    • MacDSUpdate_14.0.0.0618.zip
    • LinuxDSUpdate_14.0.0.0618.zip

These files are used to update the Dynamsoft Service. The update is not enabled by default but can be configured to be automated by setting IfUpdateService to true in dynamsoft.webtwain.config.js.

Is this page helpful?

Leave a Reply

Your email address will not be published.