|
15 | 15 | Execute must be "rollback" for rollback, and "deferred" for everything else.
|
16 | 16 | -->
|
17 | 17 |
|
18 |
| - <!-- EbpfCore.sys create service --> |
| 18 | + <!-- EbpfCore.sys --> |
19 | 19 |
|
20 | 20 | <SetProperty Id="Create_EbpfCore" Before="InstallInitialize" Sequence="execute"
|
21 | 21 | Value='"[WindowsFolder]System32\sc.exe" create EbpfCore type=kernel start=demand binpath="[ProgramFiles64Folder]ebpf-for-windows\drivers\EbpfCore.sys"' />
|
|
47 | 47 | <CustomAction Id="Stop_EbpfCore" BinaryKey="WixCA" DllEntry="WixQuietExec"
|
48 | 48 | Execute="deferred" Impersonate='no' Return="ignore" />
|
49 | 49 |
|
50 |
| - <!-- NetEbpfExt.sys create service --> |
| 50 | + <!-- NetEbpfExt.sys --> |
51 | 51 |
|
52 | 52 | <SetProperty Id="Create_NetEbpfExt" Before="InstallInitialize" Sequence="execute"
|
53 | 53 | Value='"[WindowsFolder]System32\sc.exe" create NetEbpfExt type=kernel start=demand binpath="[ProgramFiles64Folder]ebpf-for-windows\drivers\netebpfext.sys"' />
|
|
79 | 79 | <CustomAction Id="Stop_NetEbpfExt" BinaryKey="WixCA" DllEntry="WixQuietExec"
|
80 | 80 | Execute="deferred" Impersonate='no' Return="ignore" />
|
81 | 81 |
|
82 |
| - <!-- EbpfSvc.exe create service --> |
| 82 | + <!-- EbpfSvc.exe --> |
83 | 83 |
|
84 | 84 | <SetProperty Id="Create_EbpfSvc" Before="InstallInitialize" Sequence="execute"
|
85 | 85 | Value='"[ProgramFiles64Folder]ebpf-for-windows\ebpfsvc.exe" install' />
|
|
111 | 111 | <CustomAction Id="Stop_EbpfSvc" BinaryKey="WixCA" DllEntry="WixQuietExec"
|
112 | 112 | Execute="deferred" Impersonate='no' Return="ignore" />
|
113 | 113 |
|
114 |
| - <!-- EbpfNetsh.dll --> |
115 |
| - |
116 |
| - <SetProperty Id="Copy_EbpfNetsh" Before="InstallInitialize" Sequence="execute" |
117 |
| - Value='"[WindowsFolder]System32\xcopy.exe" "[ProgramFiles64Folder]ebpf-for-windows\ebpfnetsh.dll" "[WindowsFolder]System32"' /> |
118 |
| - <CustomAction Id="Copy_EbpfNetsh" BinaryKey="WixCA" DllEntry="WixQuietExec" |
119 |
| - Execute="deferred" Impersonate='no' Return="check" /> |
120 |
| - |
121 |
| - <SetProperty Id="Dir_EbpfNetsh" Before="InstallInitialize" Sequence="execute" |
122 |
| - Value='"[WindowsFolder]System32\where.exe" ebpfnetsh.dll"' /> |
123 |
| - <CustomAction Id="Dir_EbpfNetsh" BinaryKey="WixCA" DllEntry="WixQuietExec" |
124 |
| - Execute="deferred" Impersonate='no' Return="check" /> |
125 |
| - |
126 |
| - <SetProperty Id="Add_EbpfNetsh" Before="InstallInitialize" Sequence="execute" |
127 |
| - Value='"[WindowsFolder]System32\netsh.exe" add helper ebpfnetsh.dll' /> |
128 |
| - <CustomAction Id="Add_EbpfNetsh" BinaryKey="WixCA" DllEntry="WixQuietExec" |
129 |
| - Execute="deferred" Impersonate='no' Return="check" /> |
130 |
| - |
131 |
| - <SetProperty Id="Cleanup_EbpfNetsh" Before="InstallInitialize" Sequence="execute" |
132 |
| - Value='erase "[WindowsFolder]System32\ebpfnetsh.dll"' /> |
133 |
| - <CustomAction Id="Cleanup_EbpfNetsh" BinaryKey="WixCA" DllEntry="WixQuietExec" |
134 |
| - Execute="deferred" Impersonate='no' Return="ignore" /> |
135 |
| - |
136 |
| - <SetProperty Id="Delete_EbpfNetsh" Before="InstallInitialize" Sequence="execute" |
137 |
| - Value='"[WindowsFolder]System32\netsh.exe" del helper ebpfnetsh.dll' /> |
138 |
| - <CustomAction Id="Delete_EbpfNetsh" BinaryKey="WixCA" DllEntry="WixQuietExec" |
139 |
| - Execute="deferred" Impersonate='no' Return="ignore" /> |
140 |
| - |
141 | 114 | <!-- Now we configure the order in which the above need to execute. -->
|
142 | 115 | <InstallExecuteSequence>
|
143 | 116 | <!-- Rollback actions MUST be listed first. -->
|
|
156 | 129 | <Custom Action="Create_EbpfSvc" After="Start_NetEbpfExt">NOT Installed</Custom>
|
157 | 130 | <Custom Action="Start_EbpfSvc" After="Create_EbpfSvc">NOT Installed</Custom>
|
158 | 131 |
|
159 |
| - <!--- |
160 |
| - <Custom Action="Copy_EbpfNetsh" After="Start_EbpfSvc">NOT Installed</Custom> |
161 |
| - <Custom Action="Dir_EbpfNetsh" After="Copy_EbpfNetsh">NOT Installed</Custom> |
162 |
| - <Custom Action="Add_EbpfNetsh" After="Dir_EbpfNetsh">NOT Installed</Custom> |
163 |
| - --> |
164 |
| - |
165 | 132 | <!-- Finally any uninstall actions. -->
|
166 | 133 | <Custom Action="Stop_EbpfSvc" After="RemoveRegistryValues">Installed</Custom>
|
167 | 134 | <Custom Action="Stop_NetEbpfExt" After="RemoveRegistryValues">Installed</Custom>
|
168 | 135 | <Custom Action="Stop_EbpfCore" After="RemoveRegistryValues">Installed</Custom>
|
169 |
| - <!-- |
170 |
| - <Custom Action="Delete_EbpfNetsh" After="RemoveRegistryValues">Installed</Custom> |
171 |
| - --> |
172 | 136 | <Custom Action="Delete_EbpfSvc" After="RemoveRegistryValues">Installed</Custom>
|
173 | 137 | <Custom Action="Delete_EbpfCore" After="RemoveRegistryValues">Installed</Custom>
|
174 | 138 | <Custom Action="Delete_NetEbpfExt" After="RemoveRegistryValues">Installed</Custom>
|
|
0 commit comments