When I set AddURLsToHOSTS = false in the config file the installer still writes to the host.
I have my setting
<WebApplications AddURLsToHOSTS="false">
and it is ignored.
To fix that you need to change the line
in function CreateWebApp
the line
if ($xmlinput.Configuration.WebApplications.AddURLsToHOSTS)
shoud be changed to
if ($xmlinput.Configuration.WebApplications.AddURLsToHOSTS -eq $true)
I have my setting
<WebApplications AddURLsToHOSTS="false">
and it is ignored.
To fix that you need to change the line
in function CreateWebApp
the line
if ($xmlinput.Configuration.WebApplications.AddURLsToHOSTS)
shoud be changed to
if ($xmlinput.Configuration.WebApplications.AddURLsToHOSTS -eq $true)