Error downloading Draw package during a new package deployment of Workbook

Sometimes users receive an error logging into Workbook client with a new profile after an upgrade

ERROR:
A problem was encountered. Could not load file or assembly 'MDL.Draw.Editor. Version-21.1.100.287, Culture-neutral. PublicKey Token=e922e3fd683b3777 or one of its dependencies. The system cannot find the file specified.' followed by a message 'BIOVIA Workbook has stopped working'.

During the new package download, the Workbook application renames the 'extracted' folder under 'C:\ProgramData\Symyx Technologies\Deployments\Namespace\ReleasePackageVersion\Draw' to 'extracted-1' . Then, it renames it back to 'extracted'. It tries 3 times to rename it back to 'extracted' and may fail after 3 times giving an error to the end user.

When the package is downloaded and log into Workbook client is successful, State.xml file in the Draw folder has the Stage listed as Complete as shown below.
Complete

But, if it fails to rename it back to 'extracted', end user will receive errors related to openeye and Draw as the Workbook application cannot find the 'draw\extracted' folder in the Release Package folder.

State.xml file in the Draw folder will have the Stage listed as 'ExtractionVerified' instead of 'Complete' as shown below.
ExtractionVerified

Workaround:
Rename the 'extracted-1' folder under 'C:\ProgramData\Symyx Technologies\Deployments\Namespace\ReleasePackageVersion\Draw' to 'extracted'.
Log into Workbook client and verify that the Draw package is downloaded and the login is successful.

NOTE: We have seen this issue in Citrix deployments and also when using Microsoft Remote Desktop Services (RDS) to log into Workbook client.