I'm creating an installer for IIS website using WiX toolset and using this manual. I've came across following syntax
<iis:WebSite Id="DemoWebsiteWebsite" Description='Demo Website' Directory='INSTALLFOLDER' AutoStart='yes' StartOnInstall='yes'>
<iis:WebAddress Id="AllUnassigned" Port="80" />
<iis:WebApplication Id="DemoWebsiteApplication" Name="[DemoWebsiteWebsite][WEBSITE_ID]" WebAppPool="DemoWebsiteAppPool"></iis:WebApplication>
</iis:WebSite>
I'm confused by the []
syntax and the way website id is used here. I need to use some custom values entered by user for that. So I have following questions:
- What does the
[]
syntax mean in WiX? How it is related with the$()
syntax that used to access the defined value? - Is there any additional meaning for two
[]
following each other like here[DemoWebsiteWebsite][WEBSITE_ID]
? - Why the WebSite Id is used in
[DemoWebsiteWebsite]
expression? Is that just a coincidence or naming convention? - What are the allowed values to be used inside
[]
? Is there any kind of list for them? - Where can I find additional info about this syntax and cases it is used for?