File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 2121 <DirectoryRef Id =" APPLICATIONFOLDER" >
2222 <Component Transitive =" yes" >
2323 <File Id =" windows_exporter.exe" Name =" windows_exporter.exe" Source =" Work\windows_exporter.exe" KeyPath =" yes" Vital =" yes" Checksum =" yes" />
24+
25+ <!-- The "Name" field must match the argument to eventlog.Open() -->
26+ <util : EventSource Log =" Application" Name =" windows_exporter"
27+ EventMessageFile =" %SystemRoot%\System32\EventCreate.exe"
28+ SupportsErrors =" yes"
29+ SupportsInformationals =" yes"
30+ SupportsWarnings =" yes" />
31+
2432 <ServiceInstall
2533 Id =" InstallExporterService"
2634 Name =" windows_exporter"
4553 />
4654 <ServiceDependency Id =" wmiApSrv" />
4755 </ServiceInstall >
48- <ServiceControl Id =" ServiceStateControl" Name =" windows_exporter" Remove =" uninstall" Start =" install" Stop =" both" />
49- <!-- The "Name" field must match the argument to eventlog.Open() -->
50- <util : EventSource Log =" Application" Name =" windows_exporter"
51- EventMessageFile =" %SystemRoot%\System32\EventCreate.exe"
52- SupportsErrors =" yes"
53- SupportsInformationals =" yes"
54- SupportsWarnings =" yes" />
56+ <ServiceControl Id =" StartService" Name =" windows_exporter" Start =" install" Wait =" no" />
57+ <ServiceControl Id =" StopService" Name =" windows_exporter" Remove =" uninstall" Stop =" both" Wait =" yes" />
5558 </Component >
5659 <Component Id =" CreateTextfileDirectory" Directory =" textfile_inputs" Guid =" d03ef58a-9cbf-4165-ad39-d143e9b27e14" >
5760 <CreateFolder />
You can’t perform that action at this time.
0 commit comments