If the license can't be written to Dewesoft device, it is possible the issue is occuring because of the Windows regional settings.
To resolve this issue, go to Windows control panel -> Clock and Region -> Region -> Change system locale... -> disable the Beta: Use Unicode UTF-8 worldwide language support and Restart the PC.
After the license is successfully written to a device, the option can be enabled again.