When publishing to a third-party store, you should add a game uninstallation action to call “EpicOnlineServicesInstaller.exe /uninstall productId=YOUR_EOS_PRODUCT_ID /quiet”. If there are no more products registered with EOS, the services will be uninstalled from the machine.…
https://dev.epicgames.com/community/learning/knowledge-base/6G9KK/can-you-silently-uninstall-epic-online-services