My company is developing an application that has a dependency on another of our applications. That second application already has an Inno Setup installer.
So I think I'd like to bundle the second application's installer within the Inno Setup installer for the first application. But I'm not sure how to go about that properly. Does anyone know the "right way" to do this?
I found this: Inno Setup Knowledge Base—HOWTO: Install .MSI files. I assume the technique could be used for a nested Inno Setup installer. But I have a couple of questions about the fine details:
- How could I make it so if the first application is uninstalled, the second is also uninstalled?
- Is that a sensible thing to do (automatically uninstall the second application), or should I leave it to the user to do that manually?
- If the user tries to uninstall the second application while the first is uninstalled, should I somehow detect that and give a warning? How could I do that?