Skip to content

Ask User for a Folder

This action displays a directory selection dialog, allowing users to browse for or manually enter a folder path. It works exactly like the destination folder option in the File Properties page.

PropertyData TypeDescription
CaptionStringThe title of the dialog box or the wizard’s instruction panel.
DefaultDirectoryStringThe initial folder path displayed when the dialog opens.
LabelTextStringText displayed near the input field. Default: #AskBrowseFolders (Resource String).
PromptDirTextStringThe instruction text shown within the folder browser window.
VariableVarNameThe variable that will store the selected path (e.g., %MYPATH%).
  • The package prompts the user with the specified text and provides a “Browse” button.
  • When the user clicks OK or Next, the chosen path is stored in the specified Variable.
  • If the user clicks Cancel, the package will exit by default.