Of course I want to do it during new version installation. But problem is that standard Custom Action "RemoveExistingProducts" in InstallExecuteSequence table goes before any user-defined custom action, and I can't save previous data in my custom actions, because they are already uninstalled.
When I move RemoveExistingProducts after InstallFinalize action, as recomended on Microsoft Site, it uninstalls (deletes) just installed application files

When I put RemoveExistingProducts just before InstallFinalize I get an error