Hi,
If you install the webservice under your own web site (configured in Advanced Installer), then the URL of the website can be set in the "Host Header Name" field on the
Web Site tab of the IIS page.
However, if the webservice is installed as a virtual directory under the default website, the only solution is to use a
custom action. This custom action should get the information you need from the website which contains the virtual directory and write that information into the .config file.
I'm afraid I don't know how you can get the information from the web site, but we have a how-to for
writing text into a file.
Regards,
Cosmin