Hello,
I'm not sure if this question has already been answered somewhere, but I have an issue when building a setup with optional IIS configuration.
My product does not always require an IIS configuration but some features do. Usually we don't need to configure the web part of the application during the setup. The issue I have is the following : I tried to create a setup that will make some IIS configuration (creating a new web site, application pool and some other features) if a certain combo box is checked. When the combo box is checked, the setup will also install IIS if it's needed (ie : the computer does not have an enabled IIS). This part seems to be working fine, the problem comes when I don't check the combo box.
The features are not installed, but the program aborts the installation because IIS is not present on the system with that error message : "This version of IIS is not supported or IIS is not fully installed ! You need Internet Information Services 5.0 or above" (which is true, IIS is indeed not installed, but the setup is not supposed to install things that would require IIS to be installed).
Technically, I just put a combo box on one of my dialog box and install IIS parts if it is checked (through boolean conditions for each part). I dont know if this is how I'm supposed to do this or if it should be working... Any suggestions/explanations for me ?
Thanks,
Eric
FOLLOW US
Get the latest news in Application Packaging