|
@@ -1809,6 +1809,9 @@ function EnumFiles(const EnumFilesProc: TEnumFilesProc;
|
|
|
{ See above }
|
|
|
Result := True;
|
|
|
|
|
|
+ if not NewFileExistsRedir(DisableFsRedir, ArchiveFilename) then
|
|
|
+ Exit;
|
|
|
+
|
|
|
if foCustomDestName in CurFile^.Options then
|
|
|
InternalError('Unexpected CustomDestName flag');
|
|
|
const DestDir = ExpandConst(CurFile^.DestName);
|
|
@@ -2829,6 +2832,9 @@ var
|
|
|
{ See above }
|
|
|
Result := To64(0);
|
|
|
|
|
|
+ if not NewFileExistsRedir(DisableFsRedir, ArchiveFilename) then
|
|
|
+ Exit;
|
|
|
+
|
|
|
var FindData: TWin32FindData;
|
|
|
var H := ArchiveFindFirstFileRedir(DisableFsRedir, ArchiveFilename,
|
|
|
AddBackslash(TempInstallDir), { DestDir isn't known yet, pass a placeholder }
|