diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/xchat-wdk.iss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/build/xchat-wdk.iss b/build/xchat-wdk.iss index 22f28b60..d2fc4990 100644 --- a/build/xchat-wdk.iss +++ b/build/xchat-wdk.iss @@ -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; |