If you didn't create a backup for the contents of the application, then you will have to use a recovery solution. The cause for this error is directly related to compatibility. Windows 10 deletes applications while the upgrade takes place if they're not compatible.
I recommend using Recuva to attempt a possible restore: https://www.piriform.com/recuva
Download and install the application, then use the built-in Wizard to configure the parameters like scanning path, scanning mode, etc. To increase accuracy, tick the Deep Scan option. It might take longer, but the accuracy will increase.