mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +00:00
don't uninstall when portable install is performed
This commit is contained in:
1 parent
04329bc07b
commit
7bf6ac9aa7
1 file changed
+6
-3
+6
-3
@@ -225,11 +225,14 @@ end;
|
|||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
procedure CurStepChanged(CurStep: TSetupStep);
|
procedure CurStepChanged(CurStep: TSetupStep);
|
||||||
begin
|
begin
|
||||||
if (CurStep=ssInstall) then
|
if not (IsTaskSelected('portablemode')) then
|
||||||
begin
|
begin
|
||||||
if (IsUpgrade()) then
|
if (CurStep=ssInstall) then
|
||||||
begin
|
begin
|
||||||
UnInstallOldVersion();
|
if (IsUpgrade()) then
|
||||||
|
begin
|
||||||
|
UnInstallOldVersion();
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
Reference in new issue
Block a user