Skip to content

Commit

Permalink
Fix DeleteWithRetry for real™
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer authored Apr 3, 2024
1 parent ec3edab commit 081004c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ begin
if FileExists(FileName) then
begin
Log(Format('%s exists, will try to delete', [FileName]));
while not DeleteFile(Path) do
while not DeleteFile(FileName) do
begin
Log(Format('Failed to delete %s, will try again in 1000 ms', [FileName]));
Sleep(1000);
Expand Down

0 comments on commit 081004c

Please sign in to comment.