I created a program that uses images from the Blizzard API service. I created an installer for the program, and I place the images in the "User's Application Data Folder". Installation is excellent, the images are unpacked into the folder "AppData / Roaming / MyApp".
There is a need for the images to be deleted, and the program will download them from the Blizzard service itself. But when you delete the installed files, the installer starts restoring the files, and the program cannot download fresh data from the Blizzard service.
Is it possible to disable recovery for the folder "AppData / Roaming / MyApp"? Or you have any idea how to resolve it?
For creating installer I using "Microsoft Visual Studio Installer Projects" https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects
Help me please.