jerbersoft
jerbersoft

Reputation: 4450

WIX: Only check or get IIS settings when web features are being selected for installation

I am using WIX here. 3.0 to be specific. I have created an installer in which I have about 6 features. 2 of which are websites for IIS. the problem is that, when I deselect the 2 web features, the installer still looks for IIS. How can I avoid that? Especially when I want to install the 4 features on a machine that does not have IIS installed? Below is a sample WebSite section I have.

<iis:WebSite Id="defaultWebsite" Description="Default Website">
   <iis:WebAddress Id="AllUnassigned" IP="*" Port="80" />
</iis:WebSite>

Many many thanks in advance!

Upvotes: 0

Views: 320

Answers (1)

Yan Sklyarenko
Yan Sklyarenko

Reputation: 32270

The answer is the same as this one.

Upvotes: 1

Related Questions