diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-22 21:12:57 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-22 22:28:52 +0200 |
commit | e18cd9040c7dce4a18acb557dda53f27141bfa66 (patch) | |
tree | a82dd6d096989d16793f9972175760121efea91d /installer/wireguard.wxs | |
parent | manager: don't delay updates by 10 seconds (diff) | |
download | wireguard-windows-e18cd9040c7dce4a18acb557dda53f27141bfa66.tar.xz wireguard-windows-e18cd9040c7dce4a18acb557dda53f27141bfa66.zip |
installer: set sidtype from customaction
Otherwise they'll fail to come up when updating to 0.0.9.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer/wireguard.wxs')
-rw-r--r-- | installer/wireguard.wxs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs index 737372c5..93c97d0c 100644 --- a/installer/wireguard.wxs +++ b/installer/wireguard.wxs @@ -130,5 +130,13 @@ <!-- TODO: this should not launch when msiexec is called with whatever flag means it shouldn't launch. --> <Custom Action="LaunchApplication" After="PublishProduct">NOT Installed</Custom> </InstallExecuteSequence> + + <!-- + TODO: Remove me no later than July 2019. This is so that pre-0.0.9 upgrades go smoothly. + --> + <CustomAction Id="REMOVEME_EnableServiceSidType" BinaryKey="customactions.js" JScriptCall="REMOVEME_EnableServiceSidType" Execute="deferred" Impersonate="no"/> + <InstallExecuteSequence> + <Custom Action="REMOVEME_EnableServiceSidType" After="StopServices"/> + </InstallExecuteSequence> </Product> </Wix> |