un-installing community edfition has broken my existing installation!

Hi -

For some years, I have been developing with Delphi XE2 and recently decided to look at the community edition 10.3. I decided to un-install the community edition and since then I cant run any of my existing projects (and executables) or create new ones as it throws a midas error.

I just get a dialog box reading.. . "Error loading midas.dll". When you click on hte details it reads..

[508840A1]{dsnap160.bpl} Datasnap.DSIntf.CheckDbClient (Line 1143, "Datasnap.DSIntf.pas" + 21) + $12
[508841AE]{dsnap160.bpl} Datasnap.DSIntf.CreateDbClientObject (Line 1168, "Datasnap.DSIntf.pas" + 1) + $2
[508899DA]{dsnap160.bpl} Datasnap.DBClient.TCustomClientDataSet.CreateDSBase (Line 904, "Datasnap.DBClient.pas" + 1) + $13
[5088D78A]{dsnap160.bpl} Datasnap.DBClient.TCustomClientDataSet.CreateDataSet (Line 2161, "Datasnap.DBClient.pas" + 10) + $6
[22CD52CD]{dclmid160.bpl} LMidReg.TClientDataSetEditor.ExecuteVerb (Line 208, "LMidReg.pas" + 16) + $2
[51D3D376]{vcldesigner160.bpl} VCLSurface.TVclDesignSurface.ComponentVerb (Line 2510, "VCLSurface.pas" + 3) + $B
[50438083]{vcl160.bpl  } Vcl.Menus.TMenuItem.Click (Line 2522, "Vcl.Menus.pas" + 19) + $8
[50439687]{vcl160.bpl  } Vcl.Menus.TMenu.DispatchCommand (Line 3435, "Vcl.Menus.pas" + 5) + $2
[5043A8F6]{vcl160.bpl  } Vcl.Menus.TPopupList.WndProc (Line 4596, "Vcl.Menus.pas" + 4) + $E
[5043A845]{vcl160.bpl  } Vcl.Menus.TPopupList.MainWndProc (Line 4571, "Vcl.Menus.pas" + 2) + $5
[500B688C]{rtl160.bpl  } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[50453213]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[50453256]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[50453595]{vcl160.bpl  } Vcl.Forms.TApplication.Run (Line 10332, "Vcl.Forms.pas" + 26) + $3

Clearly un-installing the Delphi community edition has somehow un-registered midas. I have tried putting the midas.dll in the windows\system32 folder and then used regsvr32 midas.dll and it comes back "ok". But when I try to load a delphi project, I get the same error!

Can someone please advise me on how to proceed as I cant do any work atm! Cant believe the Delphi team have created an uninstall routine that breaks existing installations of delphi tbh!

I am running Delphi XE2 on WIndows 10.

Thanks.