@@ -726,6 +726,7 @@ begin
726726end ;
727727
728728
729+
729730function InitializeSetup (): Boolean;
730731var
731732 i: Integer;
@@ -749,9 +750,9 @@ begin
749750
750751 if ((pos(' HELP' ,Uppercase(CommandLine)) > 0 ) or
751752 (pos(' --' ,Uppercase(CommandLine)) > 0 ) )
752- // or
753- // (pos('/?',Uppercase(CommandLine)) > 0) or // InnoSetup displays its own help if these switches are passed.
754- // (pos('/H',Uppercase(CommandLine)) > 0) ) // Note also that our help scren only appears after the Choose Language dialogue :-(
753+ // or
754+ // (pos('/?',Uppercase(CommandLine)) > 0) or // InnoSetup displays its own help if these switches are passed.
755+ // (pos('/H',Uppercase(CommandLine)) > 0) ) // Note also that our help screen only appears after the Choose Language dialogue :-(
755756 then begin
756757 ShowHelpDlg;
757758 result := False;
@@ -1157,7 +1158,7 @@ begin
11571158 // Move lang specific readme from doc dir to root of install.
11581159 if NonDefaultLanguage then begin
11591160 ReadMeFileStr := ExpandConstant(' {cm:ReadMeFile}' );
1160- if FileCopy (GetAppPath+' \doc\' +ReadMeFileStr, GetAppPath+' \' +ReadMeFileStr, false) then
1161+ if CopyFile (GetAppPath+' \doc\' +ReadMeFileStr, GetAppPath+' \' +ReadMeFileStr, false) then
11611162 DeleteFile(GetAppPath+' \doc\' +ReadMeFileStr);
11621163 end ;
11631164
@@ -1306,7 +1307,7 @@ begin
13061307 Result := True;
13071308 case CurPageID of
13081309 AdminUserPage.ID : begin
1309- { check user has entered new sysdba password correctly. }
1310+ { check user has entered new sysdba password correctly. }
13101311 i := CompareStr(AdminUserPage.Values[0 ],AdminUserPage.Values[1 ]);
13111312 If not (i = 0 ) then begin
13121313 Result := False;
0 commit comments