diff options
Diffstat (limited to 'installer/wireguard.wxs')
-rw-r--r-- | installer/wireguard.wxs | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs index 56d00163..8b18189f 100644 --- a/installer/wireguard.wxs +++ b/installer/wireguard.wxs @@ -100,11 +100,27 @@ </InstallExecuteSequence> <!-- + Evaluate WireGuard components + --> + <CustomAction Id="EvaluateWireGuardComponents" BinaryKey="customactions.dll" DllEntry="EvaluateWireGuardComponents" /> + <InstallExecuteSequence> + <Custom Action="EvaluateWireGuardComponents" After="ProcessComponents" /> + </InstallExecuteSequence> + + <!-- Clear out our config folder on uninstall --> <CustomAction Id="RemoveConfigFolder" BinaryKey="customactions.dll" DllEntry="RemoveConfigFolder" Execute="deferred" Impersonate="no" /> <InstallExecuteSequence> - <Custom Action="RemoveConfigFolder" After="DeleteServices">(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")</Custom> + <Custom Action="RemoveConfigFolder" After="DeleteServices" /> + </InstallExecuteSequence> + + <!-- + Clear out our adapters on uninstall + --> + <CustomAction Id="RemoveAdapters" BinaryKey="customactions.dll" DllEntry="RemoveAdapters" Execute="deferred" Impersonate="no" /> + <InstallExecuteSequence> + <Custom Action="RemoveAdapters" Before="RemoveFiles" /> </InstallExecuteSequence> <!-- |