Does anyone know how to log messages without getting the error, or to register for direct string logging (direct string means no resource files)? Is there another way to register an event source in WiX without using the EventSource element?
Microsoft says there are two kinds of event sources, localized and direct string: "Use the CategoryCount, CategoryResourceFile, MessageResourceFile, and ParameterResourceFile properties to configure the source to write localized entries to the event log. If your application writes strings values directly to the event log, you do not need to set these properties." --From https://msdn.microsoft.com/en-us/library/5zbwd3s3(v=vs.110).aspx The WiX EventSource element requires an EventMessageFile attribute. That presumes I'm using localized logging, but I use direct string logging using WriteEntry(String, String). I get log entries starting with "The description for Event ID 0 from source XXX cannot be found." How can I use WiX to avoid passing ParameterResourceFile? I'm not allowed to omit it or give it an empty value. I am using WiX 3.9. \Bob Peterson _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. https://urldefense.proofpoint.com/v2/url?u=http-3A__ad.doubleclick.net_ddm_clk_290420510-3B117567292-3By&d=AwICAg&c=3BfiSO86x5iKjpl2b39jud9R1NrKYqPq2js90dwBswk&r=kLc6RUnkPl4nxXf06OAuGCXvAMdjMq5R83CxZo3ue6A&m=6CRtU4iTnSMWllJzqMhwaqzKjcZvpcxLQFuSPAncZSc&s=kOBLl6egxQXxFXZoSD3-Sgz1aak0YtWNJGLjKTcPAJ0&e= _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_wix-2Dusers&d=AwICAg&c=3BfiSO86x5iKjpl2b39jud9R1NrKYqPq2js90dwBswk&r=kLc6RUnkPl4nxXf06OAuGCXvAMdjMq5R83CxZo3ue6A&m=6CRtU4iTnSMWllJzqMhwaqzKjcZvpcxLQFuSPAncZSc&s=u-nb-E1gM7gXTCKU2n_p7GRQwNTjogIseEEeusE7a5c&e= _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users