I have a WCF service that I host as a Windows service. Usually I go to the VS command line and install the service using installutil.exe, and then change the base address of the service in app.config in accordance with the name of the machine in which I install it, and start the service.
The base address is as follows:
<endpoint address="http://MACHINE_NAME/NFCReader/" binding="webHttpBinding"/>
I am changing 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 runs the setup.exe file to install the service, I want to invite the user to the base address of the service and use this address to host it. I can’t understand if it is possible at all or how to do it.
Any help please? Thanks in advance.:)
source
share