Innosetup fix syntax error.
This commit is contained in:
parent
5d2754e34f
commit
96011fa545
31
dist/win/inno/valentina.iss
vendored
31
dist/win/inno/valentina.iss
vendored
|
@ -678,24 +678,25 @@ begin
|
||||||
|
|
||||||
if FileExists(CommonIniPath) or FileExists(ValentinaIniPath) or FileExists(TapeIniPath) or FileExists(PuzzleIniPath) then
|
if FileExists(CommonIniPath) or FileExists(ValentinaIniPath) or FileExists(TapeIniPath) or FileExists(PuzzleIniPath) then
|
||||||
begin
|
begin
|
||||||
if MsgBox(ExpandConstant('{cm:QuestionRemoveAnyExistingSettings}'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then
|
if MsgBox(ExpandConstant('{cm:QuestionRemoveAnyExistingSettings}'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then
|
||||||
begin
|
begin
|
||||||
if FileExists(CommonIniPath) then
|
if FileExists(CommonIniPath) then
|
||||||
if not DeleteFile(CommonIniPath) then
|
if not DeleteFile(CommonIniPath) then
|
||||||
MsgBox('Failed to delete common.ini', mbError, MB_OK);
|
MsgBox('Failed to delete common.ini', mbError, MB_OK);
|
||||||
|
|
||||||
if FileExists(ValentinaIniPath) then
|
if FileExists(ValentinaIniPath) then
|
||||||
if not DeleteFile(ValentinaIniPath) then
|
if not DeleteFile(ValentinaIniPath) then
|
||||||
MsgBox('Failed to delete Valentina.ini', mbError, MB_OK);
|
MsgBox('Failed to delete Valentina.ini', mbError, MB_OK);
|
||||||
|
|
||||||
if FileExists(TapeIniPath) then
|
if FileExists(TapeIniPath) then
|
||||||
if not DeleteFile(TapeIniPath) then
|
if not DeleteFile(TapeIniPath) then
|
||||||
MsgBox('Failed to delete Tape.ini', mbError, MB_OK);
|
MsgBox('Failed to delete Tape.ini', mbError, MB_OK);
|
||||||
|
|
||||||
if FileExists(PuzzleIniPath) then
|
if FileExists(PuzzleIniPath) then
|
||||||
if not DeleteFile(PuzzleIniPath) then
|
if not DeleteFile(PuzzleIniPath) then
|
||||||
MsgBox('Failed to delete Puzzle.ini', mbError, MB_OK);
|
MsgBox('Failed to delete Puzzle.ini', mbError, MB_OK);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user