Uninstall Apache Service Windows 7
Uninstall Apache Service Windows 7' title='Uninstall Apache Service Windows 7' />So weve produced a windows service to feed data to our client application and everything is going great. The client has come up with a fun configuration request that. Hmmm. I hit this bump too. Strange thing is I was demonstrating this uninstallation method for my boss. I used my domain administrator account to uninstall Bing Bar. How install Apache 2. PHP 5. 4 and MySQL 5. Windows 7. Installing multiple instances of the same windows service on a server. So weve produced a windows service to feed data to our client application and everything is going great. The client has come up with a fun configuration request that requires two instances of this service running on the same server and configured to point at separate databases. So far I havent been able to get this to happen and was hoping my fellow stackoverflow members might be able to give some hints as to why. Current setup Ive set up the project that contains the windows service, well call it App. Service from now on, and the Project. Installer. cs file that handles custom installation steps to set the service name based on a key in the App. Installer. 1. Service. Name Util. Service. Name. this. service. Installer. 1. Display. Name Util. Service. Name. this. service. Process. Installer. Account System. Service. Process. Service. Account. Local. System. In this case Util is just a static class tha tloads the service name from the config file. From here forward I have tried two different ways to get both services installed and both have failed in an identical way. The first way was to simply install the first copy of the service, copy the installed directory and renamed it, and then ran the following command after modifying the app config to change the desired service name Install. Util. exe i App. Service. When that didnt work I tried to create a second installer project, edited the config file and built the second installer. When I ran the installer it worked fine but the service did not show up in services. I ran the previous command against the second installed code base. Both times i received the following output from Install. Util relevant parts only Running a transacted installation. Beginning the Install phase of the installation. Installing service App Service Two. Service App Service Two has been successfully installed. Creating Event. Log source App Service Two in log Application. An exception occurred during the Install phase. System. Null. Reference. Exception Object reference not set to an instance of an object. The Rollback phase of the installation is beginning. Restoring event log to previous state for source App Service Two. Service App Service Two is being removed from the system. Service App Service Two was successfully removed from the system. The Rollback phase completed successfully. The transacted install has completed. The installation failed, and the rollback has been performed. Free Pc Rpg Adventure Games - Download Free Apps. Sorry for the long winded post, wanted to make sure there is enough relevant information. The piece that so far has me stumped is that it states that the installation of the service completes successfully and its only after it goes to create the Event. Log source that the Null. Reference. Exception seems to get thrown. So if anyone knows what Im doing wrong or has a better approach it would be much appreciated.