function CreateInputFilePage(const AfterID: Integer; const ACaption, ADescription, ASubCaption: String): TInputFileWizardPage;
Creates a wizard page that contains edit boxes and Browse buttons for selecting files.
To create file selection boxes on the page, call the Add method. Use the Values property to get/set the items' values.
An example Filter: 'Text files (*.txt)|*.txt|All files (*.*)|*.*'
var
Page: TInputFileWizardPage;
NotepadLocation: String;
...
// Create the page
Page := CreateInputFilePage(wpWelcome,
'Select Notepad Location', 'Where is Notepad located?',
'Select where Notepad is located, then click Next.');
// Add item
Page.Add('&Location of notepad.exe:', // caption
'Executable files|*.exe|All files|*.*', // filters
'.exe'); // default extension
// Set initial value (optional)
Page.Values[0] := ExpandConstant('{win}\notepad.exe');
...
// Read value into variable
NotepadLocation := Page.Values[0];
See AllPagesExample.iss for another example.