Add this:
[InstallDelete]
Type: filesandordirs; Name: "{app}\Bad Folder"
Also see
https://jrsoftware.org/ishelp/index.php?topic=installorder
And, be aware of what the help file says about the
Name parameter:
"
NOTE: Don't be tempted to use a wildcard here to delete all
files in the {app} directory. Doing this is strongly recommended
against for two reasons. First, users usually don't appreciate
having their data files they put in the application directory
deleted without warning (they might only be uninstalling it because
they want to move it to a different drive, for example). It's better
to leave it up to the end users to manually remove them if they
want. Also, if the user happened to install the program in the wrong
directory by mistake (for example, C:\Windows) and then went to
uninstall it there could be disastrous consequences. So again,
DON'T
DO THIS!"
Greetings,
Martijn