I have a WCF service which I am hosting as a Windows Service. I normally go to VS command prompt and install the service using installutil.exe, then modify the base address of the service in app.config according to the machine name that I am installing it on and run the service.
base address goes like this:
<endpoint address="http://MACHINE_NAME/NFCReader/" binding="webHttpBinding"/>
I modify the MACHINE_NAME in the app.config file.
I want to use inno setup to do the same for me.
What I want is when the user run the setup.exe file to install the service, I want to prompt the user for base address of the service and use that address to host it. I am not able to figure out if it is possible at all OR how to do it.
Any help please? Thanks in advance. :)