Hi,

We are attempting to create event log source for a clean install of our app.  
Here is the excerpt that attempts to install the logs.  Note that all the other 
steps complete successfully, except the EventSource commands.

As far as we know all the rights/permissions should be in place.  The installer 
isn't failing, rather, after it's done the Event Source isn't created.

Does anyone have any thoughts on what could be going wrong? Much appreciated.

-greg

****

    <DirectoryRef Id="Directory.Logs">

      <Component Id="CreateLogsAndFileShare" 
Guid="0832B919-2A56-459B-9E85-86095EA5C549" KeyPath="yes">

        <CreateFolder>
          <Permission User='IIS_WPG' GenericAll='yes' />
          <Permission User='Administrators' GenericAll='yes' />
          <Permission User='Users' Read='yes' />
        </CreateFolder>

        <util:FileShare Id='FileShare.Logs' Name='[LOGFILESHARENAME]' 
Description='TBD'>
          <util:FileSharePermission User='DWLOGLOADERIDENTITY' GenericAll='yes' 
/>
        </util:FileShare>


        <util:EventSource Log="Our Product" Name="App1" 
EventMessageFile="[NETFRAMEWORK_INSTALLROOT]\v2.0.50727\EventLogMessages.dll"/>
        <util:EventSource Log="Our Product" Name="App2" 
EventMessageFile="[NETFRAMEWORK_INSTALLROOT]\v2.0.50727\EventLogMessages.dll"/>
        <util:EventSource Log="Our Product" Name="App3" 
EventMessageFile="[NETFRAMEWORK_INSTALLROOT]\v2.0.50727\EventLogMessages.dll"/>

      </Component>


    </DirectoryRef>


****

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to