User Prompting and Dialogs


BeginPrompt and EndPrompt

With user prompting, you can pop up a confirmation box before executing an INF.  You can also inform users that an install/uninstall was completed with a dialog.

Syntax

[InstallSection]
BeginPrompt=BeginPromptSection
EndPrompt=EndPromptSection

[BeginPromptSection]
Prompt="<Prompt>"
ButtonType=<ButtonType>
Title="<Title>"

[EndPromptSection]
Prompt="<Prompt>"


Parameters

ParameterDescription
<Prompt> String that is displayed in dialog box
<ButtonType> YESNO = Buttons are Yes/No
OKCANC = Buttons are OK/Cancel
<Title> Title displayed on ALL dialog boxes ONLY if advpack is called via LaunchINFSection


Notes

Since the <Title> parameter in the BeginPrompt section is used for error dialog titles and in the EndPrompt dialog box, you must add a BeginPrompt section to your INF with only a <Title> parameter so that your dialogs are displayed properly.

Both prompt sections are only executed if the INF is launched via LaunchINFSection.