Skip to content

Commit 47c1676

Browse files
authored
VPN-6953: Force reinstallation when running in maintenence mode (#9886) (#9893)
1 parent 1c4fa4a commit 47c1676

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

windows/installer/MozillaVPN.wxs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,15 @@
200200
<InstallExecuteSequence>
201201
<Custom Action="CloseApplication" After="StopServices" />
202202
</InstallExecuteSequence>
203+
204+
<!--
205+
Force reinstall of components when running in maintenence mode.
206+
-->
207+
<CustomAction Id="ForceReinstall" Property="REINSTALL" Value="MozillaVPNFeature"/>
208+
<InstallExecuteSequence>
209+
<Custom Action="ForceReinstall" Before="CostInitialize">
210+
Installed AND NOT (REMOVE="ALL") and NOT REINSTALL
211+
</Custom>
212+
</InstallExecuteSequence>
203213
</Product>
204214
</Wix>

0 commit comments

Comments
 (0)