Search code examples
visual-studio-2010installationcustom-action

In a Setup Project is it possible to validate the user input in a TextBox(A) dialog


I am using the VS 2010 to create a setup project, I am going to use the TextBox(A) dialog to capture user input.

I would also like to validate inputted value in these text box. Something likes the Next button just be enabled only when the first text box meets a specific criteria. So that, the installer just navigates user to next page when the validation passed.

Is it possible with the VS 2010?


Solution

  • There's no support in VS setups for doing this. It's a feature that's available in other tools and is part of Windows Installer, so you'd need to use another tool to add that functionality to the setup.