My program creates files in c:\Users\GameDev\AppData\Local\<my game folder>
. Is it possible to tell the InnoSetup to delete the entire folder during the uninstallion process, even though the installer didn't put it there ?
Uninstall is removing a program and its associated files from a computer hard drive. The uninstall feature differs from the delete function in that it safely and efficiently removes all associated files, whereas delete only removes part of a program or selected file.
Right-click the Shell (folder) key, select New, and click on Key. Name the key Quick Delete and press Enter. Right-click the newly created key, select New and click on Key.
To delete your installation folder manually, use an FTP client and right click on the folder named "installation" and press Delete. As this removes the entire folder and its contents, it may take a couple of minutes to complete.
To delete certain folder not related to your installer (since, if you don't explicitly specify that, all the files and directories are removed by the created uninstaller), use the [UninstallDelete]
section. There you can specify something like this for your case:
[UninstallDelete]
Type: filesandordirs; Name: "{localappdata}\<my game folder>"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With