Description:
While attempting to uninstall erwin DM and install a later version of erwin DM, we receive an error on corrupt registry. Also, the folder where erwin DM is installed at cannot be deleted. How can I fix that?
Resolution:
First of all, the reason why this may happen.
- During uninstall process, the components need to be accounted for before any application can be uninstalled. Just like most applications, erwin DM also has quite a few components which are referenced in the Registry. A simple way is to first remove all the references manually, reinstall the same application and then uninstall it. If the application cannot be or is not available to be uninstalled, you can also remove the keys for erwin by searching on the word 'erwin' in Registry and delete all referenced keys. This should remove the components installed during the installation process. Once this step is done, you should be able to reboot and install the same application and then reinstall that.
Also, if something can not be uninstalled routinely, one quick way is to remove the following key which keeps track of all applications which are installed on a PC. It is under:
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- The OS has a unique key for each application installed on the PC, so one will need to search for the specific application which displays on the right pane. Once the key is deleted, the application is deemed to not exist on that PC, and then each and every folder can be deleted and, or one can try reinstalling which will re-add the key and the missing components and the application can be uninstalled normally.
Addendum:
There was another issue reported in erwin DM v. 2020 R1 and 2020 R1 SP1 regarding uninstall impacting some VC++ and MFC.DLL files. This has been addressed in v. 2020 R2. Please see the details of that in the article which can be accessed from the following URL:
https://support.erwin.com/hc/en-us/articles/360045027352-MFC140-dll-and-Code-Execution-errors-when-uninstalling-and-reinstalling-erwin-DM-2020-R1-or-2020-R1-SP1-64-bit-
The issue above has been addressed and should not be a problem with erwin DM 2020 R2.