After some more research the question again. Is the EventManifest (in the utility namespace) broken or do I just use it wrong?
EventManifest is the WIX version of wevtutil. In order to properly register one needs three parameters - the manifest and 2x the compiled manifest. Regardless how I am setting things up I am seemingly only able to get the first one called, the other two parameters always are not used, as a result the registration does not work. I checked the logs and I never see the 2nd and 3rd parameter being called. In the particular example, I am declaring the files as: <Component Id="Reflexo.GridAgent.EventSource.BinaryManifest" Guid="*"> <File Id="Reflexo.GridAgend.EventSource.BinaryManifest" Name="Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.dll" Source="$(var.Reflexo.GridAgent.EventSource.TargetDir)Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.dll" KeyPath="yes" Vital="yes" /> </Component> <Component Id="Reflexo.GridAgent.EventSource.Manifest" Guid="*"> <File Id="Reflexo.GridAgend.EventSource.Manifest" Name="Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.man" Source="$(var.Reflexo.GridAgent.EventSource.TargetDir)Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.man" KeyPath="yes" Vital="yes"> <util:EventManifest MessageFile="[#Reflexo.GridAgent.EventSource.BinaryManifest]" ResourceFile="[#Reflexo.GridAgent.EventSource.BinaryManifest]"/> </File> The proper call that should be generated is: wevtutil im "C:\Program Files (x86)\Reflexo.GridAgent\Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.man" /rf:"C:\Program Files (x86)\Reflexo.GridAgent\Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.dll" /mf:"C:\Program Files (x86)\Reflexo.GridAgent\Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.dll" Sadly the log only shows: MSI (s) (8C:40) [10:33:52:580]: Executing op: CustomActionSchedule(Action=RegisterEventManifest,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="wevtutil.exe" im "C:\Program Files (x86)\Reflexo.GridAgent\Reflexo.GridAgent.EventSource.Reflexo-GridAgent-EventLog.etwManifest.man") I am not ruling out that there is an error in my EventManifest declaration - the alternative would be a bug. Now, before I am retiring towards just calling wevtutil manually in a custom action..... do I have something wrong in the WIX code? Regards Thomas ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users