These are the two methods in Inno Setup to show file selection dialog,
Wizard Page Method:
[Code]
Var
PageFileDialog: TInputFileWizardPage;
procedure InitializeWizard;
begin
PageFileDialog:= CreateInputFilePage(
wpWelcome,
'Title 1',
'Title 2',
'Title 3');
PageFileDialog:= PageFileDialog.Edits[PageFileDialog.Add('', 'Text file (*.txt)|*.txt', '.txt')];
end;
Direct Open Dialog,
[Code]
procedure InitializeWizard;
var
FileName: string;
begin
FileName := '';
if GetOpenFileName('', FileName, '',
'Text Documents (*.txt)|*.txt|All Files|*.*', 'txt') then
begin
{ Filename contains the selected filename }
end;
end;
But these does no allow to select multiple files in the open dialog, It only selects one file. How to select multiple files?
The method in question Inno Setup with three destination folders does not work here. It should be one textbox and browse button that can select multiple files.