I created an installer with two components, I call it "base" and "Component A". Component A is to unzip an external zip file (call it a.zip). I set Component A invisible/unselected if the zip is not present in the installer_directory. I turned on allowAddRemoveComponents. I did the following install/uninstall:
- Install base without a.zip.
- Add a.zip to installer_directory, run installer again into the same directory, component A is visible this time, install "component A"
- Run uninstaller, select Uninstall individual components, I notice "component A" is not there. If I choose uninstall all, component A is uninstalled, but just I won't be able to uninstall "A" alone.
- If I install base and "A" at the same time, when I uninstall, I do have the choose just to uninstall "A"
Is there anything I can do with the installer or this is a bug with InstallBuilder?
To be clear this problem only happens when the first time, a.zip is not present, component A is set to invisible (show=0), second time, a.zip is present, but adding component A at the second time doesn't seem to change the visibility of component A in the uninstaller.
Please sign in to leave a comment.