The installer will:
- Install the new version in folder My App\Version 1.4
- Optionally install common library in My App\Common
- Optionally remove older versions (My App\Version 1.3, My App\Version 1.2, etc).
I have the first couple down. For the second, I understand that I need to use locate in the install directory to find all the versions that are currently installed, and then put those on the components page, and then during the install do an RMDir on the Version (whatever) folder if the user wants to remove the old version.
But I'm not quite sure how to set up displaying a variable number of sections and then handling those sections during install.
Can anyone help walk me through this?