TDM Web Portal: 3.8 to 4.0 upgrade fails with a script execution error


Article ID: 4893


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


This article explains in detail about the error message displayed by the installer during the upgrade of TDM web portal from 3.8 to 4.0.

"There is a problem with the Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor."


The upgrade script tries to delete a folder within the "CA TDM Web Portal" installation folder that is at present locked. Since the upgrade script does not currently have exception handling for this scenario, the complete installer fails with following error message.

<Please see attached file for image>

TDM_Portal_Upgrade_3.8_to_4.0_SQLServer2012Rep (1).png


CA TDM Web Portal version 4.0


Re-start the TDM Web Portal service and re-try upgrading after 20 minutes. This will ensure the lock on the folder is released by then.

The next GA release will have exception handling code for this scenario.

Additional Information

If you face any issues or have any questions about the steps, please open a support case by going to or by calling customer care at



1558707236618000004893_sktwi1f5rjvs16qmk.png get_app