Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6989161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:10:33+00:00 2026-05-27T19:10:33+00:00

Why in Wix is iis:WebAddress Port needed if you can and do set the

  • 0

Why in Wix is iis:WebAddress Port needed if you can and do set the port for the ‘website’ in IIS?

I have tried and making them different. The install does not fail, but uses the port for the website. Seems odd?

Code snippet

  <Component Id="DataAccessorService_VirtualDir" Guid="*">
    <CreateFolder />
    <iis:WebVirtualDir Id="DataAccessorService_VirtualDir" 
                       Alias="DataAccessorService" 
                       Directory="DataAccessorServiceDir" 
                       WebSite="XCBServiceWebsite">
      <iis:WebApplication Id="DataAccessorService_VirtualDir" 
                          Name="DataAccessorService" Isolation="medium" />
      <iis:WebDirProperties Id="DataAccessorService_WebDirProperties" 
                            DefaultDocuments="DataAccessor.svc" />
    </iis:WebVirtualDir>
  </Component>

…

<iis:WebSite Id="XCBServiceWebsite" Description="BankDotNet">
  <iis:WebAddress Id="AllUnassigned" Port="85" />
</iis:WebSite>

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:10:33+00:00Added an answer on May 27, 2026 at 7:10 pm

    For WiX v2.0 and WiX v3.0 the WebAddress is how the web site in IIS is detected. The IP:Port:Header tuple is the only thing that must be unique in IIS6 that is why it was used for detection. In that tuple, the Port was the only thing that is not optional.

    In WiX v3.5+ I think the WiX IIS custom action was enhanced to handle finding web sites using the Description and SiteId.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WiX install project that includes IIS setings for virtual directory and
In WIX, I can install an ISAPI filter using the iis:WebFilter element: <Component Id='C.Filter1'
For IIS6 I can use the IIS helpers in Wix to install a web
My Wix project creates install.msi and cab1.cab. How can I have it bundle everything
I have installed Wix 3.5 and i want to customize some dialogs, where can
I'm using WIX 3.0 After I install my product, I can run installer again
I have seen WiX and iis (cannot connect to internet information server) This question
WiX files can reference other projects using $(var.ProjectName.TargetPath) syntax. However, I have a project
I am using Wix 3.6 to install a Web application to IIS 7 and
I have a Wix installed which creates a virtual directory in IIS via the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.