CreateInputDirPage code example
Example: CreateInputDirPage
var
Page: TInputDirWizardPage;
DataDir: String;
...
Page := CreateInputDirPage(wpWelcome,
'Select Personal Data Location', 'Where should personal data files be stored?',
'Personal data files will be stored in the following folder.'#13#10#13#10 +
'To continue, click Next. If you would like to select a different folder, click Browse.',
False, 'New Folder');
Page.Add('');
Page.Values[0] := ExpandConstant('{userappdata}\My Company\My Program');
...
DataDir := Page.Values[0];