chore: uninstall when upgrading windows installer (#5945)
This commit is contained in:
parent
fdaa3b1992
commit
a4e5973573
@ -286,6 +286,12 @@ Function PageReinstallUpdateSelection
|
||||
${EndIf}
|
||||
FunctionEnd
|
||||
Function PageLeaveReinstall
|
||||
; In passive mode, always uninstall when upgrading
|
||||
${If} $PassiveMode = 1
|
||||
${AndIf} $R0 = 1 ; Upgrading
|
||||
Goto reinst_uninstall
|
||||
${EndIf}
|
||||
|
||||
${NSD_GetState} $R2 $R1
|
||||
|
||||
; If migrating from Wix, always uninstall
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user