I am wanting to add an Application to an existing IIS Site which is not the default IIS Site. This is not a usual request, but is required when deploying to a Win 2008 SBS, MVC Web API applications must be moved under 'SBS Web Applications' to work correctly.
In IIS, I would right mouse button on the 'SBS Web Applications' > Add Application... and set the Alias, Application Pool & Physical Path.
Wix does not allow me to set these properties on an IIS:WebApplication, further more it looks like I need to use a IIS:WebVirtualDir, but I don't want or need to do this. I simply need to point the Physical Path attribute to where my API is installed for this to work.
Why can't I tell the WiX IIS:WebApplication the Alias & Path that I want as per the IIS UI?
Of all the WiX work I have done, I would have thought this would have been one of the easier things to do.
Note: I want to create the Application, I don't want or need to create the Site - it's already there.