I am attempting to create an installer for a MOD but have run into the issue of when it is uninstalled it will revert back to its former state.
I have figured out how to backup the entire folder but I would like to back up only files and folders of the files that will be overwritten.
[Dirs]
Name: "{app}\_backup"
[Files]
Source: "C:\Users\User\Mod\bin"; DestDir: {app}; Flags: ignoreversion createallsubdirs recursesubdirs
Source: "{app}\*"; DestDir: "{app}\_backup"; Flags: external skipifsourcedoesntexist ignoreversion recursesubdirs createallsubdirs
How would this be done?