The product register some components in the Windows Registry Editor, therefore, if you remove some files without removing them also from the registry or if you do not uninstall the product properly; there will be a mismatch between the files in the registry and the system.
Solution 1: Run the msicuu.exe tool attached in the \Disc Image\Resources\technical support folder to make sure that the software will be completely deleted from your system. This program usually forces the software to uninstall and removes all registries.
Run msicuu.exe with Administrator permission, select XPSWMM 2018.2 from the list display and click on the Uninstall button.
Solution 2: Open the \Disc Image\Resources\technical support \remove-registry-xpswmm2018.2.reg file; run it with administrator permissions and then try to reinstall XPSWMM 2018.2.
For the Sentinel drivers, you can install the SSD Cleanup utility from this link