summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 22:35:01 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 22:35:01 +0000
commitc4293a9c58d5223d423aa2d8da62aa17a45d86aa (patch)
treeb3e1ccb1ec32163954f0e2f58be29bcae6ea2fdd
parent3e31b9ee3c12bea5f29037ce386c33653626d38d (diff)
- Installer: more correct version of previous 2 commits
git-svn-id: http://svn.miranda-ng.org/main/trunk@5987 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--tools/installer_ng/MirandaNG.iss2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/installer_ng/MirandaNG.iss b/tools/installer_ng/MirandaNG.iss
index 652295679b..69edccb151 100644
--- a/tools/installer_ng/MirandaNG.iss
+++ b/tools/installer_ng/MirandaNG.iss
@@ -909,7 +909,7 @@ begin
ExpandConstant('{cm:LangEnglishDescription}') + ';' +
'');
- if DirExists(WizardForm.DirEdit.Text) and FileExists(WizardForm.DirEdit.Text+'\{#MirName}') then
+ if DirExists(WizardForm.DirEdit.Text) and (FileExists(WizardForm.DirEdit.Text+'\{#MirName}') or FileExists(WizardForm.DirEdit.Text+'\mir_core.dll')) then
begin
MsgBox(ExpandConstant('{cm:FolderExists1}')+#10+#10+WizardForm.DirEdit.Text+#10+#10+ExpandConstant('{cm:FolderExists2}'), mbError, MB_OK);
Result := False;