Skip to content

iis:WebDirProperties/Name is not modularized #4813

@wixbot

Description

@wixbot

The Name attribute does not work when using iis:WebDirProperties in a merge module.

When looking with Orca the Name has not been modularized (it does not have the module GUID suffix), so it does not match the correct id, and fails at runtime.

The workaround is to add the module GUID to the property name, ie.


<iis:WebVirtualDir Id="MyVirtualDirectory" Alias="[IISVIRTUALDIRNAME]" Directory="MyDir" WebSite="DefaultWebSite">
<iis:WebDirProperties Id="MyWebVirtDirProperties"
AnonymousAccess="no" BasicAuthentication="no" WindowsAuthentication="yes" />
<iis:WebApplication Id="MyWebApp" Name="[IISVIRTUALDIRNAME.3046AA32_9FB3_45A0_8A32_19D3BC042671]" WebAppPool="MyAppPool" />
/iis:WebVirtualDir

Originally opened by jfl605y

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions