venkataramu.c
Posts: 6
Joined: Wed Jun 18, 2008 5:49 am

How to get Url in webservice installer?

Hi
I am using the advanced installer for creating the webservice installer.it is creating the virtual directory. i want update that webservice URL in web.config file. how to i get a that webservice URl . please help me.
Thanks in advance.
Regards
Venkat.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to get Url in webservice installer?

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
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”