feat: add logic for uninstall old jan version
This commit is contained in:
parent
4c4e795a3d
commit
d7a1a9a529
@ -506,6 +506,10 @@ Function .onInit
|
||||
Delete "$INSTDIR\*.*"
|
||||
${EndIf}
|
||||
|
||||
; Remove old Jan from %LOCALAPPDATA%\${PRODUCTNAME} if present
|
||||
${If} ${FileExists} "$LOCALAPPDATA\Jan\uninstall.exe"
|
||||
ExecWait '"$LOCALAPPDATA\Jan\uninstall.exe" /S' $0
|
||||
|
||||
!if "${INSTALLMODE}" == "both"
|
||||
!insertmacro MULTIUSER_INIT
|
||||
!endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user