So part of the functionality for my new app I am writing is to delete some files stored in ‘ProgramData’ for another program (on Windows, i.e. C:\ProgramData\APPNAME\FOLDER_WITH_DATA_TO_DELETE). This either requires Admin rights or give my app access to read/write on that folder. What’s the best & safest way to do this?
Currently calling .deleteFile() on a file in this location fails and the call returns false.