|
@@ -104,6 +104,16 @@
|
|
|
</File>
|
|
|
</ComponentGroup>
|
|
|
|
|
|
+ <CustomAction Id="DllPermission" Directory="System64Folder" ExeCommand='[System64Folder]icacls.exe "[System64Folder]wevt_netdata.dll" /grant "NT SERVICE\EventLog":R' Execute="deferred" Return="ignore" Impersonate="no"/>
|
|
|
+ <InstallExecuteSequence>
|
|
|
+ <Custom Action="DllPermission" After="InstallFiles" />
|
|
|
+ </InstallExecuteSequence>
|
|
|
+
|
|
|
+ <CustomAction Id="InstallManifest" Directory="System64Folder" ExeCommand='[System64Folder]wevtutil.exe im "[System64Folder]wevt_netdata_manifest.xml" "/mf:[System64Folder]\wevt_netdata.dll" "/rf:[System64Folder]\wevt_netdata.dll"' Execute="deferred" Return="ignore" Impersonate="no"/>
|
|
|
+ <InstallExecuteSequence>
|
|
|
+ <Custom Action="InstallManifest" After="InstallFiles" />
|
|
|
+ </InstallExecuteSequence>
|
|
|
+
|
|
|
<Component Id="NetdataService" Directory="USRBINDIR">
|
|
|
<File Id="netdata.exe" Source="C:\msys64\opt\netdata\usr\bin\netdata.exe" KeyPath="yes" />
|
|
|
|