mirror of
https://github.com/netdata/netdata.git
synced 2025-04-13 17:19:11 +00:00
Add Custom Actions (Installer) (#19041)
This commit is contained in:
parent
5647f9f353
commit
8c6eb51ceb
1 changed files with 10 additions and 0 deletions
|
@ -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" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue