Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
WinGit: Fix invalid error message that setup.ini cannot be deleted on…
Browse files Browse the repository at this point in the history
… uninstall
  • Loading branch information
Sebastian Schuberth committed Jan 15, 2008
1 parent 3c136a8 commit a37b9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/WinGit/install.iss
Expand Up @@ -523,7 +523,7 @@ begin
end;
Command:=AppDir+'\setup.ini';
if not DeleteFile(Command) then begin
if (FileExists(Command) and (not DeleteFile(Command))) then begin
Msg:='Line {#emit __LINE__}: Unable to delete file "'+Command+'".';
MsgBox(Msg,mbError,MB_OK);
Log(Msg);
Expand Down

0 comments on commit a37b9d6

Please sign in to comment.