aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/wireguard.wxs
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-08-08 09:31:42 +0200
committerSimon Rozman <simon@rozman.si>2019-08-09 11:56:01 +0200
commitb3de85e47aeb27f5c33015026b25adf7edb3bf0e (patch)
tree448050f47add410ef7a75e39f676af910b915c87 /installer/wireguard.wxs
parentinstaller: unify WIREGUARD_-specific WiX variables (diff)
downloadwireguard-windows-b3de85e47aeb27f5c33015026b25adf7edb3bf0e.tar.xz
wireguard-windows-b3de85e47aeb27f5c33015026b25adf7edb3bf0e.zip
installer: port custom actions from JScript to C
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r--installer/wireguard.wxs6
1 files changed, 3 insertions, 3 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs
index dfd12ac5..492422dd 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -36,7 +36,7 @@
<MediaTemplate EmbedCab="yes" CompressionLevel="high" />
<Icon Id="wireguard.ico" SourceFile="..\ui\icon\wireguard.ico" />
- <Binary Id="customactions.js" SourceFile="customactions.js" />
+ <Binary Id="customactions.dll" SourceFile="$(var.WIREGUARD_PLATFORM)\customactions.dll" />
<Property Id="ARPPRODUCTICON" Value="wireguard.ico" />
<Property Id="ARPURLINFOABOUT" Value="https://www.wireguard.com/" />
@@ -122,7 +122,7 @@
<!--
Evaluate WireGuard services and populate ServiceControl table
-->
- <CustomAction Id="EvaluateWireGuardServices" BinaryKey="customactions.js" JScriptCall="EvaluateWireGuardServices" />
+ <CustomAction Id="EvaluateWireGuardServices" BinaryKey="customactions.dll" DllEntry="EvaluateWireGuardServices" />
<InstallExecuteSequence>
<Custom Action="EvaluateWireGuardServices" After="FindRelatedProducts" />
</InstallExecuteSequence>
@@ -130,7 +130,7 @@
<!--
Clear out our config folder on uninstall
-->
- <CustomAction Id="RemoveConfigFolder" BinaryKey="customactions.js" JScriptCall="RemoveConfigFolder" Execute="deferred" Impersonate="no" />
+ <CustomAction Id="RemoveConfigFolder" BinaryKey="customactions.dll" DllEntry="RemoveConfigFolder" Execute="deferred" Impersonate="no" />
<InstallExecuteSequence>
<Custom Action="RemoveConfigFolder" After="DeleteServices">(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")</Custom>
</InstallExecuteSequence>