How to add two identical functions to inno-setup.I means, for example, if I want to delete a folder and everything inside, I use:
DelTree(ExpandConstant('{userdocs}\A'), True, True, True)
to delete everything inside "A". But now I want to delete folder "B" using folder "A"
I know one way to do something like this:
DelTree(ExpandConstant('{userdocs}\Games\A'), True, True, True);
DelTree(ExpandConstant('{userdocs}\Games\B'), True, True, True);
I want to know if there is another way to do this on one line, something like delete 'A+B'that will remove both "A" and "B".
Someone please help.
Thanks!
source
share