Our application integrates with excel, if present. Depending on the Excel version installed, an additional package (PIA) needs to be installed by the boostrapper to make our application work with the corresponding version of Excel. That is, our pre-requisites
are dependent on which applications are installed on the user's machine.
Basically, we want a bootstrapper that can support this scenario:
If Excel 2003 is installed
...install PIA for Excel 2003
If Excel 2003 is not installed, don't install PIA for Excel 2003
If Excel 2003 and PIA for Excel 2003 are both installed, do nothing (installation done).
...and analoguous for other Excel versions, then last install our application MSI.
dotNetInstaller has the InstalledCheck element, but can it be used for this scenario? The way I read the docs it does not seem so since I would need two InstalledCheck elements and only install the component for specific combinations.