-
-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
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