From c4293a9c58d5223d423aa2d8da62aa17a45d86aa Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 6 Sep 2013 22:35:01 +0000 Subject: - Installer: more correct version of previous 2 commits git-svn-id: http://svn.miranda-ng.org/main/trunk@5987 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/installer_ng/MirandaNG.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/installer_ng') 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; -- cgit v1.2.3