How to enable “automatic update” for Dynamsoft Service

In version 13.3, the automatic update is disabled by default. Once you have upgraded your application to use version 13.3, you can enable the update. To do this, you just need to set IfUpdateService to true in dynamsoft.webtwain.config.js like this:

Dynamsoft.WebTwainEnv.IfUpdateService = true;


The following files are needed for the update in the Resources folder, please make sure they are not removed from that folder.




Once the update is enabled, the user will see the following pop-up when he/she visits the scan page as the service is being updated:


During this process, our code will automatically download the * file from the server side and update the local service components.

After the update, the new Dynamsoft Service will start automatically and the user can continue to use the SDK.

A failed update won't matter as the old service can still be used. However, the same process will be carried out the next time the user goes to the scan page.

Is this page helpful?