Problem removing empty instdir
I'm having a weird issue wit 2.09.
If I select a single level instdir for my app, i.e. "My App" and then inst all files to it, upon uninstall everything including said folder gets removed cleanly. However, if I choose an inst path like "My Company\My App" and then inst all files, upon uninstall only the files and the folder "My App" gets removed, leaving the folder "My Company" there.
I'm thinking ahead to the future when I release more apps, I want to have them all in the main folder "My Company" with sub folders for the names of the apps, and then when one gets removed, the top level folder will not get removed unless there are no other sub folders. If no sub folders, then it should be removed.
In this case since I only have one app, the top level folder should be getting removed but it's not.
Does anyone have any code that can do this?
TIA