don't uninstall when portable install is performed
This commit is contained in:
parent
04329bc07b
commit
7bf6ac9aa7
|
@ -225,11 +225,14 @@ end;
|
|||
/////////////////////////////////////////////////////////////////////
|
||||
procedure CurStepChanged(CurStep: TSetupStep);
|
||||
begin
|
||||
if (CurStep=ssInstall) then
|
||||
if not (IsTaskSelected('portablemode')) then
|
||||
begin
|
||||
if (IsUpgrade()) then
|
||||
if (CurStep=ssInstall) then
|
||||
begin
|
||||
UnInstallOldVersion();
|
||||
if (IsUpgrade()) then
|
||||
begin
|
||||
UnInstallOldVersion();
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue