EDN Admin
Well-known member
<p align=left><font face=Arial size=2>Ive added a project installer to my windows service however it fails installation when I run installutil on it because the source event log already exists. How do I tell my installer to not attempt to create an event log source?</font>
<p align=left>
<p align=left>Renaming the service name as mentioned on other sites is not an option, and deleting the event source prior to installation is not an option either. I simply want the installer to not attempt to create an event source or at least do an if exists test before trying.
<p align=left> <font color="#ff0000 System.ArgumentException: Source MyService1 already exists on the local computer.</font>
View the full article
<p align=left>
<p align=left>Renaming the service name as mentioned on other sites is not an option, and deleting the event source prior to installation is not an option either. I simply want the installer to not attempt to create an event source or at least do an if exists test before trying.
<p align=left> <font color="#ff0000 System.ArgumentException: Source MyService1 already exists on the local computer.</font>
View the full article